GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #129 from Purukitto/patch-1 · git-jhy/javascript@af688f7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • loops
    • while.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎loops/while.md‎

Copy file name to clipboardExpand all lines: loops/while.md
-9Lines changed: 0 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@ while (i < 5) {
1818
}
1919
```
2020

21-
The Do/While Loop is a variant of the while loop. This loop will execute the code block once before checking if the condition is true. It then repeats the loop as long as the condition is true:
22-
23-
```javascript
24-
do {
25-
// code block to be executed
26-
} while (condition);
27-
```
28-
29-
3021
**Note**: Be careful to avoid infinite looping if the condition is always true!
3122

3223

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.