Click or drag to resize

PropertyDescriptor Properties

Version 103.0.120

The PropertyDescriptor type exposes the following members.

Properties
  NameDescription
Public propertyConfigurable
True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
Public propertyEnumerable
True if this property shows up during enumeration of the properties on the corresponding object.
Public propertyGet
A function which serves as a getter for the property, or `undefined` if there is no getter (accessor descriptors only).
Public propertyIsOwn
True if the property is owned for the object.
Public propertyName
Property name or symbol description.
Public propertySet
A function which serves as a setter for the property, or `undefined` if there is no setter (accessor descriptors only).
Public propertySymbol
Property symbol object, if the property is of the `symbol` type.
Public propertyValue
The value associated with the property.
Public propertyWasThrown
True if the result was thrown during the evaluation.
Public propertyWritable
True if the value associated with the property may be changed (data descriptors only).
Top
See Also