Javascript Do While Loop

The Javascript Do While Loop will execute a block of code once, and then it will repeat the loop while a condition is true.

Syntax

Note: The <= could be anything that would fit the purpose ex. >, == or whatever.

Javascript Do While Loop Example