From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript Number Object
The constructor property returns a reference to the Number function that created the object.
| object.constructor |
ExampleHow to use the constructor property:
The output of the code above will be:
Try it yourself » |
JavaScript Number Object
From http://www.w3schools.com (Copyright Refsnes Data)