We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A while loop is used to execute a block of code as long the specified condition is true.
while (condition) { // code block to be executed }
The condition is checked before every loop execution and if the coondition is falses the loop is terminated.