Skip to content

Commit 3eced1c

Browse files
Update repeat-str.js
1 parent 42bb265 commit 3eced1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ function repeatStr(str, count) {
22
if (count < 0) throw new Error("negative counts are not valid");
33
return str.repeat(count);
44
}
5-
6-
module.exports = repeatStr;
5+
module.exports = repeatStr;

0 commit comments

Comments
 (0)