<html>
<body>
<h1>JavaScript Statements</h1>
<h2>The for Loop</h2>
<p>Initiate multiple values in the first parameter:</p>
<p id="demo"></p>
<script>
let text = "";
const cars = ["BMW", "Volvo", "Saab", "Ford"];
for (let i = 0, len = cars.length; i < len; i++) {
text += cars[i] + "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>