JavaScript Number Constructor Property
- Previous Page constructor
- Next Page EPSILON
- Go Back to the Previous Level JavaScript Number Reference Manual
Definition and usage
The constructor property returns the function that created the Number prototype.
For JavaScript numbers, the constructor property returns:function Number() { [native code] }
Syntax
number.constructor
Return value
function Number() { [native code] }
Browser support
constructor is a feature of ECMAScript1 (ES1).
All browsers fully support ES1 (JavaScript 1997):
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support | Support |
- Previous Page constructor
- Next Page EPSILON
- Go Back to the Previous Level JavaScript Number Reference Manual