do while

do while is a loop that executes until the condition is false.

It executes at least once.

Syntax

do {
  code
} while (condition);

Example

External

Mozilla Developer Network