Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Statements</h1>
<h2>The continue Statement</h2>
<p id="demo"></p>
<script>
const cars = ["BMW", "Volvo", "Saab", "Ford"];
let text = "";
for (let i = 0; i < cars.length; i++) {
    if (cars[i] === "Saab") continue;
    text += cars[i] + "<br>";
  }
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>