We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44f3ca1 commit c2a674bCopy full SHA for c2a674b
Sprint-3/2-practice-tdd/repeat.js
@@ -1,6 +1,6 @@
1
-function repeat() {
2
- const str = arguments[0];
3
- const count = arguments[1];
+function repeat(str, count) {
+ //const str = arguments[0];
+ //const count = arguments[1];
4
if (count < 0) {
5
throw new Error("Count must be a non-negative integer");
6
}
0 commit comments