Continue statement in a if statement : continue : Statement JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Statement » continue »

 

Continue statement in a if statement

















<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
var x = 0;
while (x < 10) {
    x++;
    if (x == 5) {
        continue;
    }
    document.write(x);
}

//  -->
</script>
</head>
<body>

</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Statement
» continue