Skip to content

Instantly share code, notes, and snippets.

@moeproblems
Created January 10, 2013 02:33
Show Gist options
  • Save moeproblems/4498908 to your computer and use it in GitHub Desktop.
Save moeproblems/4498908 to your computer and use it in GitHub Desktop.
function make() {
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for( var i=0; i < 25; i++ )
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
var arr = [];
for(var i=0; i<20000; i++) {
arr.push(make());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment