Microsoft® JScript break Statement See Also |
Language Reference
|
Exits from the current loop.
break;
The break statement can only be used inside a while, for, or for..in loop. Executing the break statement exits from the current loop, and begins script execution with the statement immediately following the loop.