Skip to content

Commit c3c79dd

Browse files
author
Markus Amalthea Magnuson
committed
falsey -> falsy
1 parent 734b35e commit c3c79dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ for ( [initialisation]; [conditional]; [iteration] ) {
3333

3434
The _initialisation_ statement is executed only once, before the loop starts. It gives you an opportunity to prepare or declare any variables.
3535

36-
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 falsey value, then the loop stops.
36+
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.
3737

3838
The _iteration_ statement is executed at the end of each iteration and gives you an opportunity to change the state of important variables. Typically, this will involve incrementing or decrementing a counter and thus bringing the loop closer to its end.
3939

0 commit comments

Comments
 (0)