Please login to start chat

ICT Solutions 22 Jun 2022, 18:00:50
Category : JavaScript Tutorials

Continue (JS Statement)

<!DOCTYPE html>
<html>
<head>
<title>JavaScript Code Testing</title>
</head>
<body>
<p id = "demo"></p>
<script>
var txt = "", i;
for(i = 0; i < 10; i++){
if (i===5){continue;}
txt += i + "<br />";
}
document.getElementById("demo").innerHTML = txt;
</script>
</body>
</html>

Comments:

No comment to show.

Available Services
Download Android Application