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 7d3028f commit 1590eecCopy full SHA for 1590eec
Sprint-3/2-practice-tdd/repeat.js
@@ -1,6 +1,4 @@
1
function repeat(str, count) {
2
- //const str = arguments[0];
3
- //const count = arguments[1];
4
if (count < 0) {
5
throw new Error("Count must be a non-negative integer");
6
}
0 commit comments