Repeats the given string n times.
n
The string to repeat.
The number of times to repeat the string.
strRepeat('abc', 3);;//=> 'abcabcabc' Copy
strRepeat('abc', 3);;//=> 'abcabcabc'
Generated using TypeDoc
Repeats the given string
n
times.