1125Chapter 41 .Functions and Custom Objects (Web design seattle) isPrototypeOf(objRef) Returns:
1125Chapter 41 .Functions and Custom Objects isPrototypeOf(objRef) Returns: Boolean. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . The isPrototypeOf() method is intended to reveal whether or not the current object has a prototype relation with an object passed as a parameter. In practice, the IE5.5 and NN6 versions of this method not only operate differently, but they also do not appear in either browser to report prototype relationships correctly between objects. If any updated information is available for this method within these browsers, I will post it to the JavaScript Bible Support Center at http://www.dannyg.com/update.html. propertyIsEnumerable( propName ) Returns: Boolean. NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility . In the terminology of the ECMA-262 language specification, a value is enumerable if constructions such as the for-in property inspection loop (Chapter 39) can inspect it. Enumerable properties include values such as arrays, strings, and virtually every kind of object. According to the ECMA specification, this method is not supposed to work its way up the prototype chain. IE5.5 appears to adhere to this, whereas NN6 treats a property inherited from an object s prototype as a valid parameter value. … objectObject.propertyIsEnumerable()
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.