JavaScript array.constructor Property
The Array object has an array.constructor property. The array.constructor property gives back an array’s constructor function that created the array object. The array.constructor property inherits from the prototype of the array object. Syntax of array.constructor Property in JavaScript constructor = arrayObj.constructor Parameters The JavaScript array.constructor does not take any parameter because it is not a function but a property. Return The array.constructor property returns the reference to the function which created the array object.