Skip to content

Instantly share code, notes, and snippets.

@ebonneville
Created May 8, 2012 20:52
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 ebonneville/2639177 to your computer and use it in GitHub Desktop.
Save ebonneville/2639177 to your computer and use it in GitHub Desktop.
var myString = [];
for(var i = 0; i < 10; i++) {
myString.push("some string ");
}
var myString = myString.join("");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment