JavaScript arrays example

Sunny.Sagar
Posted by Sunny.Sagar under JavaScript category on | Points: 40 | Views : 323
<p id="Example"></p>

<script>
var cars = ["Audi", "Benze", "Toyoto"];
document.getElementById("Example").innerHTML = cars[2];
</script>

Comments or Responses

Login to post response