Permalink
Browse files

fix typo

  • Loading branch information...
1 parent e4b87bb commit 719066289326e5e366e0bec1c942f232e8f766c1 @VorontsovIE VorontsovIE committed with tjvantoll Sep 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 page/javascript-101/loops.md
@@ -22,14 +22,14 @@ Note that in loops, the variable `i` is not "scoped" to the loop block even thou
A `for` loop is made up of four statements and has the following structure:
```
-for ( [initialisation]; [conditional]; [iteration] ) {
+for ( [initialization]; [conditional]; [iteration] ) {
[loopBody]
}
```
-The _initialisation_ statement is executed only once, before the loop starts. It gives you an opportunity to prepare or declare any variables.
+The _initialization_ statement is executed only once, before the loop starts. It gives you an opportunity to prepare or declare any variables.
The _conditional_ statement is executed before each iteration, and its return value decides whether the loop is to continue. If the conditional statement evaluates to a falsy value, then the loop stops.

0 comments on commit 7190662

Please sign in to comment.