Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
All arrays are objects of the Array class. Once you create an Array object, you can use the class methods to create, sort, add, retrieve, and remove elements stored in an array.
An array needs to first be declared as a variable and then instantiated as an object of the Array class. The Array() constructor method is used to create a new Array() object: