Answers for "javascript create string of given length"

0

javascript create string of given length

var str = 'character'.repeat(desiredLength)
Posted by: Guest on September-11-2021
-1

javascript create string of given length

var str = new Array(len + 1).join( character );
Posted by: Guest on April-05-2020

Code answers related to "javascript create string of given length"

Code answers related to "Javascript"

Browse Popular Code Answers by Language