DescriptorInfo
A property descriptor in the form the engine works with, rather than as a script object. Every field holds Scriptable.NOT_FOUND when the descriptor does not mention it.
Constructors
Link copied to clipboard
Reads a descriptor out of a script object: ToPropertyDescriptor (ECMAScript 2015, 6.2.4.5). Each field is asked for with HasProperty before it is read, in the spec's order, and the three flags become booleans. Upstream read every field with a bare get in its own order and kept the raw values, so a proxy descriptor answering undefined for get looked like an accessor and {enumerable: 1} compared unequal to true.