Repeating a string

A string's repeat function produces a string which contains the specified number of copies of the original string.

Loading TypeScript...

Was this page helpful?