Use make.number.tiny instead of make.number.range
This commit is contained in:
parent
fa47ea0d70
commit
ad5ae56561
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class script extends utils {
|
||||||
}
|
}
|
||||||
|
|
||||||
static makeLoop (s, max) {
|
static makeLoop (s, max) {
|
||||||
return `for (let i = 0; i < ${max || make.number.range()}; i++) {${s}}`
|
return `for (let i = 0; i < ${max || make.number.tiny()}; i++) {${s}}`
|
||||||
}
|
}
|
||||||
|
|
||||||
static makeRandomOptions (baseObject) {
|
static makeRandomOptions (baseObject) {
|
||||||
|
|
Loading…
Reference in a new issue