diff --git a/1-js/02-first-steps/12-while-for/3-which-value-for/solution.md b/1-js/02-first-steps/12-while-for/3-which-value-for/solution.md index 766278fd..e2e28e75 100644 --- a/1-js/02-first-steps/12-while-for/3-which-value-for/solution.md +++ b/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 ); That can be easily deducted from the algorithm of `for`: -1. Execute once `i=0` before everything (begin). -2. Check the condition `i<5` +1. Execute once `i = 0` before everything (begin). +2. Check the condition `i < 5` 3. If `true` -- execute the loop body `alert(i)`, and then `i++` The increment `i++` is separated from the condition check (2). That's just another statement.