javascript String prototype

prototypeNN 3 IE 4 ECMA 1  

Read/Write  

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

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

Any data, including function references.


1771,Nickname,Homepage or email,Comments here,Add comment