repeat() returns a new string with a number of copies of a string:
repeat() is not supported in Internet Explorer 11 (or earlier).