JS: Property Attributes
Property Attributes
Each property has associated info called attribute.
Data Property Attributes
value-
The property's value. writable-
When true, the property's value can be changed. enumerable-
When
true, the property shows in some enumeration constructs, such as for-in Loop. 〔see JS: List Properties〕 configurable-
If
false, you can't delete the property, nor change the property attributes (e.g. make it configurable again), nor change it to from get/set property. But you may still change the value.
Accessor Property's Attributes
Show Property Attributes
Set Property Attributes
JavaScript. Property
- JS: Property Overview
- JS: Order of Properties
- 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