Introduced in JavaScript 1.8.1
A structure that represents the property.
Properties
Field Name | Type | Description |
obj |
JSObject * |
A pointer to the object representing the property with the ID specified in the id parameter, or NULL if no matching property was found. |
attrs |
unsigned |
Attributes for this property |
getter |
JSPropertyOp |
A callback that returns the value of the property. |
setter |
JSStrictPropertyOp |
A callback to set the value of the property. |
value |
JS::Value |
The property's current value. |
Description
The JSPropertyDescriptor
holds the object that has the property, attributes of the property, getter and setter operations, and the value.