Skip to content

Commit

Permalink
mig from ++ to += 1
Browse files Browse the repository at this point in the history
Co-authored-by: WATAHIKI Yuto <[email protected]>
  • Loading branch information
aster-void and chvmvd authored Oct 7, 2023
1 parent 4f090f1 commit 2deb868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1-trial-session/09-functions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function repeat(stringToRepeat, times) {
}
return result;
}
for (let i = 0; i < 10; i++) {
for (let i = 0; i < 10; i += 1) {
document.write(repeat("", i));
document.write("<br>");
}
Expand Down

0 comments on commit 2deb868

Please sign in to comment.