Javascript Reference
Categories: Object_Obj

javascript Object_Obj prototype

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

Read/Write  

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

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

Any data, including function references.


Powered by Linode.