Skip to content

Commit 7190662

Browse files
VorontsovIEtjvantoll
authored andcommitted
fix typo
1 parent e4b87bb commit 7190662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

page/javascript-101/loops.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ Note that in loops, the variable `i` is not "scoped" to the loop block even thou
2222
A `for` loop is made up of four statements and has the following structure:
2323

2424
```
25-
for ( [initialisation]; [conditional]; [iteration] ) {
25+
for ( [initialization]; [conditional]; [iteration] ) {
2626
2727
[loopBody]
2828
2929
}
3030
```
3131

32-
The _initialisation_ statement is executed only once, before the loop starts. It gives you an opportunity to prepare or declare any variables.
32+
The _initialization_ statement is executed only once, before the loop starts. It gives you an opportunity to prepare or declare any variables.
3333

3434
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.
3535

0 commit comments

Comments
 (0)