Description
The constructor property returns the function that created the object's prototype.
This property has the form:
Date.constructor
Examples
The following example shows the basic use of this tag.
<script>
var d = new Date();
document.write(d.constructor);
</script>
This produces the following result:
Browser Support
Firefox | IE | Chrome | Opera | Safari |
---|---|---|---|---|