Do-while loop in JavaScript

The JavaScript do-while loop is also known as an exit control loop. The JavaScript do-while is test specified condition after executing a block of code. If the condition met false, at least once execute the block of code.