Created
February 23, 2022 09:38
-
-
Save Spirecool/899f54329b67245436d50f859590fed6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Initialization of variable n to 0 | |
let n = 0 | |
do { | |
// Display a message in the console with the value n | |
console.log('n : ' + n) | |
// Increment n by 1 (n = n + 1) | |
n++ | |
} while (n < 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment