(info) This AI is still in early stages of development.

DATA_READONLY_CONFIG

An enumerable, configurable, read-only data property.

 

Notes

The property will have the following descriptor:

  • Data property (a value)
  • Writable = false
  • Enumerable = true (not hidden)
  • Configurable = true (can be changed)

Example

someObj.addProp(
	DATA_READONLY_CONFIG,
	"foo",
	"bar" // value
);
Availability STABLE

Requires:

Property Definitions

Topics: