This AI is still in early stages of development.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

global.addProp(
	ACCESSOR_HIDDEN,
	"foo",
	function getter() { ... },
	function setter() { ... }
);
Availability STABLE

Requires:

Property Definitions

Topics:

 

  • No labels