Javascript Reference
Categories: Date

javascript Date prototype

@March 15, 2008, 1:22 a.m.
prototypeFirefox/Netscape/NN 3 IE 4 ECMA 1  

Read/Write  

This is a property of the static Date object. Use the prototype property to assign new properties and methods to future instances of a Date value created in the current document. See the Array.prototype property description for examples.

 
Example
 
Date.prototype.author = "DG";
 
Value

Any data, including function references.


Powered by Linode.