fix(curriculum): fix some terms in JS pyramid project (#56930)

This commit is contained in:
yoko
2024-10-28 20:46:12 +09:00
committed by GitHub
parent fe56000164
commit c08afd5878
3 changed files with 3 additions and 3 deletions
@@ -16,7 +16,7 @@ test = test + 1;
test += 1;
```
Update your iterator statement in the `for` loop to use addition assignment.
Update your iteration statement in the `for` loop to use addition assignment.
# --hints--
@@ -11,7 +11,7 @@ Comments can be helpful for explaining why your code takes a certain approach, o
In JavaScript, you can use `//` to leave a single-line comment in your code.
Add a single-line comment above your function to remind yourself to change the code to a different kind of loop.
Add a single-line comment above your `for` loop to remind yourself to change the code to a different kind of loop.
# --hints--
@@ -9,7 +9,7 @@ dashedName: step-103
Just like addition, there are different operators you can use for subtraction. The <dfn>subtraction assignment</dfn> operator `-=` subtracts the given value from the current variable value, then assigns the result back to the variable.
Replace your iterator statement with the correct statement using the subtraction assignment operator.
Replace your iteration statement with the correct statement using the subtraction assignment operator.
# --hints--