@wtasnorg/node-lib / repeatString
repeatString(
s,n):string
Defined in: src/strings.ts:689
Repeat returns a new string consisting of count copies of the string s.
string
String to repeat.
number
string
Repeated string.
If count is negative.
repeat("na", 4); // "nananana"
repeat("na", 0); // ""
repeat("x", -1); // throws RangeError