Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

A non-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 = false (hidden)
  • Configurable = false (cannot be altered once defined)

Example

Code Block
themeRDark
languagejavascript
linenumberstrue
globalsomeObj.addProp(
	ACCESSOR_HIDDEN,
	"foo",
	function getter() { ... },
	function setter() { ... }
);
Div
classbox
Availability
Status
colourGreen
titleStable

Requires:

Div
classbox

Property Definitions

Topics:

Child pages (Children Display)
alltrue
depthall
pageProperty Definitions
excerpttrue