mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
Making the code more readable (#29465)
This commit is contained in:
parent
da5284f772
commit
d34c64cee6
@ -21,9 +21,12 @@ Here is the **syntax** for `do...while` loop:
|
||||
|
||||
var i = 0;
|
||||
do {
|
||||
|
||||
i = i + 1;
|
||||
console.log(i);
|
||||
} while (i < 5);
|
||||
}
|
||||
|
||||
while (i < 5);
|
||||
|
||||
Output:
|
||||
1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user