What Is an Array?
You want to hold on to information in sequence without creating multiple variables.
Use an array to store your data. An array is an object where you can store information in a list-like order.
var arrayLit = ; //Array Literal
var arrayObj = new Array(); //Array instance using a constructor
Creating Array Literals and Instances of an Array Object
How It Works
In all instances, you get an array with all the properties and methods of an array . Using the array literal is a quick way of building ...