Minor bug fix in creating filled arrays without a limit

This commit is contained in:
pyoor 2017-07-20 10:24:57 -04:00
parent d167b49fba
commit 44d74b09bf
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
make.arrays = {
filledArray: function (fn, limit) {
let array = []
let size = limit || random.number(make.number.tiny)
let size = limit || random.number(make.number.tiny()) + 1
for (let i = 0; i < size; i++) {
array.push(random.pick(fn))

0
lib/make/style.js Normal file
View File