diff --git a/02_repeatString/repeatString.js b/02_repeatString/repeatString.js index 4359bbe..ea61aa0 100644 --- a/02_repeatString/repeatString.js +++ b/02_repeatString/repeatString.js @@ -1,5 +1,5 @@ -const repeatString = function() { - +const repeatString = function(string, num) { + return string.repeat(num); }; // Do not edit below this line