Table of contents Home page
Execute this code
var a = [1, 2, 3, 4] alert("The array contains " + a.join() + ".") alert(a.pop() + " has been removed from the array, which now contains " + a.join() + ".")