This AI is still in early stages of development.
ACCESSOR_NORMAL
- Aubergine
Owned by Aubergine
An enumerable, non-configurable accessor property.
Â
Notes
The property will have the following descriptor:
- Accessor property (a getter/setter)
- Writable = true (if setter defined) or false (if setter not defined)
- Enumerable = true (not hidden)
- Configurable = false (cannot be altered once defined)
Example
someObj.addProp( ACCESSOR_NORMAL, "foo", function getter() { ... }, function setter() { ... } );
Property Definitions
Topics:
- object.addAccessor() — Add a hidden, non-configurable accessor property to any object...
- object.addProp() — Adds a new accessor (getter/setter) or data (value) property to any object, setting it's enumerable, configurable and read-only flags as desired...
- ACCESSOR_HIDDEN_CONFIG — A non-enumerable, configurable accessor property.
- DATA_HIDDEN_CONFIG — A non-enumerable, configurable, writable data property.
- ACCESSOR_NORMAL — An enumerable, non-configurable accessor property.
- DATA_READONLY — An enumerable, non-configurable, read-only data property.
- DATA_READONLY_HIDDEN — A non-enumerable, non-configurable, read-only data property.
- ACCESSOR_HIDDEN — A non-enumerable, non-configurable accessor property.
- DATA_READONLY_CONFIG — An enumerable, configurable, read-only data property.
- ACCESSOR_NORMAL_CONFIG — An enumerable, configurable accessor property.
- DATA_NORMAL — An enumerable, non-configurable, writable data property.
- DATA_READONLY_HIDDEN_CONFIG — A non-enumerable, configurable, read-only data property.
- DATA_HIDDEN — A non-enumerable, non-configurable, writable data property.
- object.addConst() — Add a hidden, read-only data property to any object...
Â