1. Technology
Send to a Friend via Email

Your suggestion is on its way!

An email with a link to:

http://javascript.about.com/od/reference/g/sarray.htm

was emailed to:

Thanks for sharing About.com with others!

Array

By

Definition: The Array class is used to define a collection of variables that are related together. You can then refer to the individual variables within the array either by their position in the array eg myEntry[3] to access the fourth entry (the first entry is 0) or by name eg myEntry[red]. This is not a reserved word so you can declare your own variable or function called Array but if you do then you will not be able to use the Array class.
Examples:
var mess = new Array();
Top Related Searches
  • array class
  • variables
    1. About.com
    2. Technology
    3. JavaScript

    ©2014 About.com. All rights reserved.