mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): remove semicolon from iteration example (#56846)
This commit is contained in:
parent
d3c579d500
commit
a2eaba1862
@ -9,7 +9,7 @@ dashedName: step-36
|
||||
|
||||
Your <dfn>iteration</dfn> statement will tell your loop what to do with the iterator after each run.
|
||||
|
||||
When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3;` would increase the value of `bees` by three.
|
||||
When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3` would increase the value of `bees` by three.
|
||||
|
||||
Use that syntax to replace your `"iteration"` string with a reassignment statement that increases `i` by one.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user