<html>
<body>
<p id="array"></p>

<script>

const cars=["ford","toyota","BMW"];

const fruits=[];

fruits[0]="Apple";
fruits[1]="Orange";

const animals = new Array("Elephant","Tiger","Crocodile");

document.getElementById("array").innerHTML ="Car1:"+ cars[0] + "<br><br>fruit: " + fruits[0] + "<br><br>Animal: " + animals[0];

</script>

</body>


</html>