Function repeat()

← Back to Module string



Module string → repeat()

Description

Repeat a string

repeat(s, times)


Parameters


Return Value


Usage Example

repeat("ha", 5)   ' Returns "hahahahaha"