JS: Enumerable Property

By Xah Lee. Date: . Last updated: .

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