mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): remove semicolon from iteration example (#56846)
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user