JS: Enumerable Property
What is Enumerable Property
A Enumerable Property is a property whose
Property Attribute
enumerable
is true
.
Purpose of Enumerable Attribute
enumerable
value is a
Boolean
.
If false, it means some looping syntax or function that go thru properties ignore the property.
For example, Array has
a property length
, which has enumerable attribute false.
How to Check If Property is Enumerable
JavaScript, Property
- JS: Property Overview
- JS: Property Key
- JS: Property Dot Notation vs Bracket Notation
- JS: Create Property
- JS: Delete Property
- JS: Get Set Property
- JS: Check Property Existence
- JS: Access Property
- JS: List Properties
- JS: for-in Loop
- JS: Enumerable Property
- JS: Property Attributes
- JS: Property Descriptor
- JS: Getter Setter Properties