diff --git a/lib/utils/script.js b/lib/utils/script.js index 95eec07..d94a948 100644 --- a/lib/utils/script.js +++ b/lib/utils/script.js @@ -69,7 +69,7 @@ utils.script = { }, makeArray: function (type, arrayLength, cb) { if (type === null || type === undefined) { - type = random.index(['Uint8', 'Float32']) + type = random.item(['Uint8', 'Float32']) } switch (random.number(8)) { case 0: