Appearance
The while statement is used to execute a block of code while a condition is true.
while
syntax WhileStatement : while Expression BlockStatement
Expression
BlockStatement
while $condition { // ... }