Created
August 27, 2017 12:20
-
-
Save geritol/82b8c00101fb7d962a3b333445873c88 to your computer and use it in GitHub Desktop.
js create string with repeating letters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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