WIP Add utils.mutate.random to any()

This commit is contained in:
pyoor 2017-06-08 00:18:33 -04:00
parent 16402ea39c
commit 060345e96a

View file

@ -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)
}
}
}