Array Properties

The following table displays a summary of the array properties. Detailed descriptions of each property follow the table.

PropertyDescription

index

For an array created by a regular expression match, the zero-based index of the match in the string.

input

For an array created by a regular expression match, reflects the original string against which the regular expression was matched.

length

Reflects the number of elements in an array.

prototype

Allows the addition of properties to an Array object.