JavaScript continue 语句 javascript:void(0) JavaScript break 语句 JavaScript continue 语句 <html> <body> <script> var x = 1; document.write("Entering the loop <br /> "); while (x < 10) { x = x+ 1; if (x== 5) { continue; // skip rest of the loop body } document.write( x + "<br />"); } document.write("Exiting the loop!<br /> "); </script> </body> </html> javascript:void(0) JavaScript break 语句