Use make.number.tiny instead of make.number.range

This commit is contained in:
pyoor 2018-08-20 12:21:12 -04:00
parent 946e322406
commit 0683dc88fb

View file

@ -141,7 +141,7 @@ class network extends make {
} }
static dtmf () { static dtmf () {
let count = make.number.range() let count = make.number.tiny()
const values = [] const values = []
while (count--) { while (count--) {
values.push(random.item(['*', '#', 'A', 'B', 'C', 'D', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'])) values.push(random.item(['*', '#', 'A', 'B', 'C', 'D', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9']))