171 B
171 B
Exercise 02 - repeatString
Write a function that simply repeats the string a given number of times:
repeatString('hey', 3) // returns 'heyheyhey'
Write a function that simply repeats the string a given number of times:
repeatString('hey', 3) // returns 'heyheyhey'