Repeat() Method

repeat() returns a new string with the number of copies of a string.