Javascript Reference
Categories: Boolean

javascript Boolean constructor

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

Read/Write  

This is a reference to the function that created the instance of a Boolean objectthe native Boolean( ) constructor function in browsers.

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

Function object reference.


Powered by Linode.