Skip to content

Commit f012a52

Browse files
I implemented repeatStr function.
1 parent f265055 commit f012a52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
function repeatStr() {
2-
3-
return "hellohellohello";
1+
function repeatStr(str) {
2+
3+
return str.repeat(3);
44
}
55

66
module.exports = repeatStr;

0 commit comments

Comments
 (0)