javascript Error prototype

prototypeNN 6 IE 5(Win) ECMA 3  

Read/Write  

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

 
Example
 
Error.prototype.custom = true;
 
Value

Any data, including function references.


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