Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo

  • Loading branch information...
commit 719066289326e5e366e0bec1c942f232e8f766c1 1 parent e4b87bb
@prijutme4ty prijutme4ty authored tjvantoll committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 page/javascript-101/loops.md
View
4 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.
Please sign in to comment.
Something went wrong with that request. Please try again.