JS Array reference.

Javascript build-in Array object reference.

Create arrays:

Prototype Methods:

Syntax: concat([item1[ ,item2 [, ...]]])
When the concat method is called with zero or more arguments item1, item2, etc., it returns an array containing the array elements of the object followed by the array elements of each argument in order.
Return value: A new array.
An example of using the concat() :

Prototype Properties:

Syntax: Array.prototype.constructor
This property of the Array.prototype holds the reference back to the Array object.
Important note: This is the same as the constructor property of an instantiated object

Constructor (Array) Properties:

Syntax: Array.constructor
The constructor property is a reference to the function that will be invoked to create a Array object.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.