Making the code more readable (#29465)
This commit is contained in:
committed by
The Coding Aviator
parent
da5284f772
commit
d34c64cee6
@ -21,9 +21,12 @@ Here is the **syntax** for `do...while` loop:
|
|||||||
|
|
||||||
var i = 0;
|
var i = 0;
|
||||||
do {
|
do {
|
||||||
|
|
||||||
i = i + 1;
|
i = i + 1;
|
||||||
console.log(i);
|
console.log(i);
|
||||||
} while (i < 5);
|
}
|
||||||
|
|
||||||
|
while (i < 5);
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
1
|
1
|
||||||
|
Reference in New Issue
Block a user