Skip to content

Instantly share code, notes, and snippets.

@geritol
Created August 27, 2017 12:20
Show Gist options
  • Save geritol/82b8c00101fb7d962a3b333445873c88 to your computer and use it in GitHub Desktop.
Save geritol/82b8c00101fb7d962a3b333445873c88 to your computer and use it in GitHub Desktop.
js create string with repeating letters
Array(6).join("b") // create string with 5 b-s "bbbbb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment