Skip to content

Instantly share code, notes, and snippets.

@CodeDotJS
Created May 20, 2020 15:14
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 CodeDotJS/9b857f0d0d70d7ac68ed35428db90685 to your computer and use it in GitHub Desktop.
Save CodeDotJS/9b857f0d0d70d7ac68ed35428db90685 to your computer and use it in GitHub Desktop.
var i = 0;
var text = '';
var spell = ['a', 'acada', 'a'];
while (spell[i]) {
text += spell[i] + "<br>";
i++
}
text.substr(0, 15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment