JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow Date Right Arrow prototype

prototype  Date  class property

Description

Enables property assignment to objects of type Date.

  • prototype is a class property of Date and as such should be used on the class and not an instance.

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