A structure that represents the property.


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.


The JSPropertyDescriptor holds the object that has the property, attributes of the property, getter and setter operations, and the value.

See Also

Document Tags and Contributors

Contributors to this page: wbamberg, kscarfone, arai
Last updated by: wbamberg,