odin-javascript-exercises/02-repeatString/README.md
2017-08-21 10:28:29 -05:00

171 B

Exercise 02 - repeatString

Write a function that simply repeats the string a given number of times:

repeatString('hey', 3) // returns 'heyheyhey'