prototype
Date
class property
JS Home <<
JS Reference <<
Date <<
prototype
Description
Enables property assignment to objects of type Date
.
prototype
is a class property ofDate
and as such should be used on the class and not an instance.
Syntax
Signature | Description |
---|---|
Date.prototype | Enables property assignment to objects of type Date . |
Parameters
None.
Examples
The code below displays Date
prototype.
alert('Date prototype is ' + Date.prototype);
Related Tutorials
JavaScript Intermediate Tutorials - Lesson 2 - Dates and Times