Skip to content

Commit f17468f

Browse files
authored
Merge pull request javascript-tutorial#42 from vikaspotluri123/patch-3
Fix minor typo in While-For chapter
2 parents ce45bae + 92d02d9 commit f17468f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/12-while-for/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ The combination: "infinite loop + `break` as needed" is great for situations whe
235235

236236
## Continue to the next iteration [#continue]
237237

238-
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead if stops the current iteration and forces the loop to start a new one (if the condition allows).
238+
The `continue` directive is a "lighter version" of `break`. It doesn't stop the whole loop. Instead it stops the current iteration and forces the loop to start a new one (if the condition allows).
239239

240240
We can use it if we're done on the current iteration and would like to move on to the next.
241241

0 commit comments

Comments
 (0)