Skip to content

Commit c2a674b

Browse files
committed
Editing the code
1 parent 44f3ca1 commit c2a674b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
function repeat() {
2-
const str = arguments[0];
3-
const count = arguments[1];
1+
function repeat(str, count) {
2+
//const str = arguments[0];
3+
//const count = arguments[1];
44
if (count < 0) {
55
throw new Error("Count must be a non-negative integer");
66
}

0 commit comments

Comments
 (0)