odin-javascript-exercises/repeatString/README.md

11 lines
171 B
Markdown
Raw Normal View History

2017-08-21 08:28:29 -07:00
# Exercise 02 - repeatString
Write a function that simply repeats the string a given number of times:
```javascript
repeatString('hey', 3) // returns 'heyheyhey'
```