| Language Reference
Terminates the current loop, or if in conjunction with a label, terminates the associated statement.
The optional label argument specifies the label of the statement you are breaking from.
You typically use the break statement in switch statements and while, do...while, for, or for...in loops. You most commonly use the label argument in switch statements, but it can be used in any statement, whether simple or compound.
Executing the break statement exits from the current loop or statement, and begins script execution with the statement immediately following.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js740.htm, 2KB, , updated: 2019/3/8 10:50, local time: 2021/10/20 14:50,
|©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/techref/inet/iis/jscript/htm/js740.htm"> break Statement</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!