WIP Add utils.mutate.random to any()
This commit is contained in:
parent
16402ea39c
commit
060345e96a
1 changed files with 3 additions and 1 deletions
|
@ -40,13 +40,15 @@ utils.mutate = {
|
|||
},
|
||||
|
||||
any: function (str) {
|
||||
switch (random.number(3)) {
|
||||
switch (random.number(4)) {
|
||||
case 0:
|
||||
return utils.mutate.text(str)
|
||||
case 1:
|
||||
return utils.mutate.numbers(str)
|
||||
case 2:
|
||||
return utils.mutate.units(str)
|
||||
case 3:
|
||||
return utils.mutate.random(str)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue