【www.bbyears.com--Fast路由器】
Break and continue a loop
<script type="text/javascript教程">
var i=0;
for (i=0;i<=10;i++)
{
if (i==3)
{
continue;
}
document.write("The number is " + i);
document.write("
");
}
</script>
Explanation: The loop will break the current loop and continue with the next value when i=3.