Creates a random alphabetic string

by Mohan 2012-09-20 22:43:39



Creates a random alphabetic string
function RandomString(length) {

var str = '';
for ( ; str.length < length; str += Math.random().toString(36).substr(2) );
return str.substr(0, length);
}



597
like
0
dislike
0
mail
flag

You must LOGIN to add comments