JavaScript Array constructor
JavaScript Array constructor
The constructor property is used to return the function that created the Array prototype. In JavaScript arrays, the constructor property returns function Array() { [native code] }.
Syntax:-
Its syntax is:- array.constructor
Return:-
Its return value is:- function Array() { [native code] }