odin-javascript-exercises/02-repeatString
2017-08-21 10:28:29 -05:00
..
README.md add generator and repeatString 2017-08-21 10:28:29 -05:00
repeatString.js add generator and repeatString 2017-08-21 10:28:29 -05:00
repeatString.spec.js add generator and repeatString 2017-08-21 10:28:29 -05:00

Exercise 02 - repeatString

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

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