It will repeat the given string, by count times.
string
count
1.0.0
repeat("*", 3);// => "***" Copy
repeat("*", 3);// => "***"
repeat("abc", 2);// => "abcabc" Copy
repeat("abc", 2);// => "abcabc"
repeat("abc", 0);// => "" Copy
repeat("abc", 0);// => ""
It will repeat the given
string
, bycount
times.