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

DATA_NORMAL

An enumerable, non-configurable, writable data property.

 

Notes

The property will have the following descriptor:

  • Data property (a value)
  • Writable = true
  • Enumerable = true (not hidden)
  • Configurable = false (cannot be altered once defined)

Example

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

Requires:

Property Definitions

Topics:

  • object.addAccessor() — Add a hidden, non-configurable accessor property to any object...
  • object.addProp() — Adds a new accessor (getter/setter) or data (value) property to any object, setting it's enumerable, configurable and read-only flags as desired...
  • object.addConst() — Add a hidden, read-only data property to any object...

Â