Skip to content

Commit f4e8bed

Browse files
fix
1 parent 040f91d commit f4e8bed

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Sprint-3/2-practice-tdd/repeat-str.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
function repeatStr() {
2-
// Your implementation of this function must *not* call String.prototype.repeat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat).
3-
// The goal is to re-implement that function, not to use it.
4-
return "hellohellohello";
5-
}
6-
7-
module.exports = repeatStr;
8-
9-
//fixed
10-
111
function repeatStr(str, count) {
122
let result = "";
133

0 commit comments

Comments
 (0)