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