DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript create string of given length
var str = new Array(len + 1).join( character );
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#create
#string
#length
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit