JavaScript Array constructor property
returns a reference to the function that created the instance's prototype

constructor property returns a reference to the function that created the instance's prototype.

constructor property returns the constructor function for an object.

The return value is a reference to the function, not the name of the function:

Array constructor property returns function Array() { [native code] }

Number constructor property returns function Number() { [native code] }

String constructor property returns function String() { [native code] }

Boolean constructor property returns function Boolean() { [native code] }

Object constructor property returns function Object() { [native code] }

Function constructor property returns function Function() { [native code] }

Date constructor property returns function Date() { [native code] }

Set constructor property returns function Set() { [native code] }

Map constructor property returns function Map() { [native code] }

syntax description
return a reference to the function that created the instance's prototype
myValue.constructor