mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Clean up the oopsie. Rebuild the blank exercises.
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
var repeatString = function(word, times) {
|
||||
if (times < 0) return 'ERROR'
|
||||
let string = ''
|
||||
for (let i = 0; i < times; i++) {
|
||||
string += word
|
||||
}
|
||||
return string
|
||||
var repeatString = function() {
|
||||
|
||||
}
|
||||
|
||||
module.exports = repeatString
|
||||
|
||||
Reference in New Issue
Block a user