DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
ts repeat string
export const repeatStr = (n: number, s: String): String => s["repeat"](n);
Source by www.codewars.com #
PREVIOUS
NEXT
Tagged:
#ts
#repeat
#string
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit