Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JSPropertyDescriptor

This article needs a technical review. How you can help.

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.

See Also

Document Tags and Contributors

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