PropertyDescriptor

sealed external interface PropertyDescriptor(source)

Object property descriptor.

Properties

Link copied to clipboard
abstract var configurable: Boolean

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

Link copied to clipboard
abstract var enumerable: Boolean

True if this property shows up during enumeration of the properties on the corresponding object.

Link copied to clipboard
abstract var get: RemoteObject?

A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

Link copied to clipboard
abstract var isOwn: Boolean?

True if the property is owned for the object.

Link copied to clipboard
abstract var name: String

Property name or symbol description.

Link copied to clipboard
abstract var set: RemoteObject?

A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

Link copied to clipboard
abstract var symbol: RemoteObject?

Property symbol object, if the property is of the symbol type.

Link copied to clipboard
abstract var value: RemoteObject?

The value associated with the property.

Link copied to clipboard
abstract var wasThrown: Boolean?

True if the result was thrown during the evaluation.

Link copied to clipboard
abstract var writable: Boolean?

True if the value associated with the property may be changed (data descriptors only).