Object.propertyIsEnumerable() (Method)

A test for whether a property has the don't enumerate flag set or not.

Availability:

ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-myObject.propertyIsEnumerable(aName)
Argument list:aNameThe name of the object property to test

If the receiving object has a member property of the name that is passed in the argument, and if the DontEnum attribute of that property is false, then this method returns the Boolean true value.

Cross-references:

ECMA 262 edition 3 - section - 15.2.4.7