Skip to content

Instantly share code, notes, and snippets.

@cho45
Created June 10, 2016 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cho45/c2cdf11bd89e45ea71632aa2e251fe5d to your computer and use it in GitHub Desktop.
Save cho45/c2cdf11bd89e45ea71632aa2e251fe5d to your computer and use it in GitHub Desktop.
var string = "";
for (var i = 0; i < 1000; i++) {
string += Math.random().toString(32);
}
var buffer = [];
for (var i = 0; i < 1000; i++) {
buffer.push(Math.random().toString(32));
}
var string = buffer.join("");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment