.repeat()
Term side of the Card
Topic: String
Unit title: .repeat()
Categories: Method
Explanation side of the Card
Explanation: The method that returns a new string consisting of the original string repeated a specified number of times. It's useful for generating repeated patterns or sequences.
Browser compatibility:
- The chrome browser supports this feature starting from version 41
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 24
- The safari browser supports this feature starting from version 9
Availability: