mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-12 03:06:05 +09:00
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'