Skip to content

Instantly share code, notes, and snippets.

@Nathan-Nesbitt
Last active May 10, 2020 00:29
Show Gist options
  • Save Nathan-Nesbitt/8e2a8fd3c7193622bc8f965af3f83cc2 to your computer and use it in GitHub Desktop.
Save Nathan-Nesbitt/8e2a8fd3c7193622bc8f965af3f83cc2 to your computer and use it in GitHub Desktop.
Do While Example
// Initialize
var i = 0;
do {
console.log(i)
// Increment
i++;
}
// Evaluate
while (i < 10);
@Nathan-Nesbitt
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment