Skip to content

Commit 06f9407

Browse files
authored
Merge pull request javascript-tutorial#38 from aadithpm/patch-1
Edit article.md
2 parents 0121d62 + c7e8223 commit 06f9407

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
@@ -82,7 +82,7 @@ do {
8282
} while (i < 3);
8383
```
8484

85-
This form of syntax is rarely used. Usually, if there's no special reason, the other form is preferred: `while(…) {…}`.
85+
This form of syntax is rarely used except when you want the body of the loop to execute **at least once** regardless of the condition being truthy. Usually, the other form is preferred: `while(…) {…}`.
8686

8787
## The "for" loop
8888

0 commit comments

Comments
 (0)