Simplify make.text.any

This commit is contained in:
pyoor 2017-05-31 15:40:25 -04:00
parent e7773ee307
commit 5726fc4e2c

View file

@ -196,8 +196,7 @@ make.text = {
// TODO: Len calculation take from DOMFuzz - maybe we should revise this?
let len = random.number(1000) * random.number(10) + random.number(10)
for (let i=0; i<len; i++) {
let t = make.text.chars()
s += random.pick(t);
s += make.text.chars()
}
return s;
}