Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
A non-enumerable, 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 = false (hidden)
- Configurable = true (can be changed)
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
globalsomeObj.addProp( ACCESSOR_HIDDEN_CONFIG, "foo", function getter() { ... }, function setter() { ... } ); |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Property DefinitionsTopics:
|