Modified make.array.filledArray to accept an array of callbacks

This commit is contained in:
pyoor 2017-05-14 21:22:59 -04:00
parent 7b4bfe7f94
commit 3de3feef21

View file

@ -8,7 +8,7 @@ make.arrays = {
let size = limit || random.number(make.number.tinyNumber)
for (let i = 0; i < size; i++) {
array.push(fn())
array.push(random.pick(fn))
}
return array