nota

String.prototype.repeat()

TIL el objeto String tiene un método repeat()

The repeat() method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.

String.prototype.repeat()

Publicado el por José Leiva

Tags: TIL, JavaScript