javascript break 语句 JavaScript 没有 break 语句 javascript continue 语句 javascript break 语句 <html> <body> <script type="text/javascript"> <!-- var x = 1; document.write("Entering the loop<br /> "); while (x < 20) { if (x == 5) { break; // breaks out of loop completely } x = x + 1; document.write( x + "<br />"); } document.write("Exiting the loop!<br /> "); //--> </script> <p>Set the variable to different value and then try...</p> </body> </html> JavaScript 没有 break 语句 javascript continue 语句