JavaScript Number constructor
Description
The constructor property returns the function that created the Number prototype.
For JavaScript numbers the constructor property returns:
function Number() { [native code] }
Browser Support
constructor is an ECMAScript1 (JavaScript 1997) feature.
It is supported in all browsers:
| Chrome | Edge | Firefox | Safari | Opera |
Syntax
number.constructor
Return Value
function Number() { [native code] }