1.

What Are Array Properties?

Answer»

Here is a list of the properties of the Array object ALONG with their DESCRIPTION.

  • constructor: Returns a reference to the array function that created the object.
  • index: The property represents the zero-based index of the match in the STRING
  • input: This property is only present in arrays created by REGULAR expression matches.
  • length: Reflects the number of elements in an array.
  • prototype: The prototype property ALLOWS you to add properties and methods to an object.

Here is a list of the properties of the Array object along with their description.



Discussion

No Comment Found