JavaScript/Reserved words/while

The do keyword
The while clause includes a condition that determines when the do loop will end.

Examples
The code