We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1b2d95 + 6b61bef commit d9cc401Copy full SHA for d9cc401
1-js/02-first-steps/12-while-for/3-which-value-for/solution.md
@@ -8,8 +8,8 @@ for (let i = 0; i < 5; i++) alert( i );
8
9
That can be easily deducted from the algorithm of `for`:
10
11
-1. Execute once `i=0` before everything (begin).
12
-2. Check the condition `i<5`
+1. Execute once `i = 0` before everything (begin).
+2. Check the condition `i < 5`
13
3. If `true` -- execute the loop body `alert(i)`, and then `i++`
14
15
The increment `i++` is separated from the condition check (2). That's just another statement.
0 commit comments