Microsoft® JScript
break Statement

See Also

| Language Reference |


Description

Exits from the current loop.

Syntax
break;
Remarks
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.

© 1996 by Microsoft Corporation.