34,333
edits
Changes
no edit summary
The ''break'' statement, when encountered in a loop breaks skips all remaining statements in the loop body and breaks the loop. The ''continue'' statement also skips all remaining statements in the loop for the current interation, but returns to the top of the loop and allows it to continue running.
<hr>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[Comments in JavaScript|Previous]]<td align="center">[[JavaScript Essentials|Table of Contents]]<td width="20%" align="right">[[Understanding JavaScript Functions|Next]]</td>
<tr>
<td width="20%">Comments in JavaScript<td align="center"><td width="20%" align="right">Understanding JavaScript Functions</td>
</table>
<hr>