prototype  Date  class propertyS2C Home  « Globals « Date « prototype

Description

Enables property assignment to objects of type Date.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax

Signature Description
Date.prototypeEnables property assignment to objects of type Date.

Parameters

None.

Examples

The code below displays Date prototype.



alert('Date prototype is ' + Date.prototype);

Press the button below to action the above code:


Related Tutorials

JavaScript Intermediate Tutorials - Lesson 2 - Dates and Times

go to home page Homepage go to top of page Top