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