repeat() method returns a new string which contains the specified number of copies of the string on which it was called.
|count||Required||Specifies the number of times to repeat the string.|
An integer between 0 and +∞.
|String||Returns a new string containing the specified number of copies of the given string.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.