Javascript Reference
Categories: Error

javascript Error constructor

@March 15, 2008, 1:22 a.m.
constructorFirefox/Netscape/NN 6 IE 5(Win) ECMA 3  

Read/Write  

Provides a reference to the function that created the instance of an Error objectthe native Error( ) constructor function in browsers.

 
Example
 
if (myVar.constructor == Error) {
    // process native string
}
 
Value

Function object reference.


Powered by Linode.