DATA_READONLY_HIDDEN

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

DATA_READONLY_HIDDEN

A non-enumerable, non-configurable, read-only data property.

 

Notes

The property will have the following descriptor:

  • Data property (a value)

  • Writable = false

  • Enumerable = false (hidden)

  • Configurable = false (cannot be altered once defined)

Example

someObj.addProp( DATA_READONLY_HIDDEN, "foo", "bar" // value );