Fields

@:optionaloptionalwritable:Null<Bool>

true if and only if the value associated with the property may be changed with an assignment operator.

Defaults to false.

@:optionaloptionalvalue:Null<Any>

The value associated with the property. Can be any valid JavaScript value (number, object, function, etc).

@:optionaloptionalset:Null<Any ‑> Void>

A function which serves as a setter for the property, or undefined if there is no setter. When the property is assigned to, this function is called with one argument (the value being assigned to the property) and with this set to the object through which the property is assigned.

@:optionaloptionalget:Null<() ‑> Any>

A function which serves as a getter for the property, or undefined if there is no getter. When the property is accessed, this function is called without arguments and with this set to the object through which the property is accessed (this may not be the object on which the property is defined due to inheritance). The return value will be used as the value of the property.

@:optionaloptionalenumerable:Null<Bool>

true if and only if this property shows up during enumeration of the properties on the corresponding object.

Defaults to false.

@:optionaloptionalconfigurable:Null<Bool>

true if and only if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

Defaults to false.