Table of contents Home page
Execute this code
var a = [1, 2, 3] alert("The array has " + a.length + " elements.") alert("A new value has been added at the beginning of the array, which has now " + a.unshift(0) + " elements.")