We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71688e7 + 95ad576 commit 7edd7c3Copy full SHA for 7edd7c3
1-js/02-first-steps/13-while-for/article.md
@@ -106,7 +106,7 @@ Let's examine the `for` statement part-by-part:
106
107
| part | | |
108
|-------|----------|----------------------------------------------------------------------------|
109
-| begin | `i = 0` | Executes once upon entering the loop. |
+| begin | `let i = 0` | Executes once upon entering the loop. |
110
| condition | `i < 3`| Checked before every loop iteration. If false, the loop stops. |
111
| body | `alert(i)`| Runs again and again while the condition is truthy. |
112
| step| `i++` | Executes after the body on each iteration. |
0 commit comments