javascript String constructor

constructorNN 4 IE 4 ECMA 1  

Read/Write  

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

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

Function object reference.


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