Javascript Reference
Categories: Object_Obj

javascript Object_Obj isPrototypeOf( )

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

isPrototypeOf(objectReference)

  

Returns Boolean true if the current object and the object passed as a parameter coincide at some point along each object's prototype inheritance chain. Note that IE and Navigator do not always agree on the results.

 
Parameters
 
  • Reference to an object that potentially shares prototype inheritance with the current object.
 
Returned Value

Boolean value: true | false.


Powered by Linode.