Array Demo

var names=["red","green", "blue"];

console.log("names = ", names);
console.log("names[0] = ", names[0]);
console.log("Names is ", names.length, " items long");

names.push(42);
console.log("names = ", names);
console.log("Names is ", names.length, " items long");