Glossary Term
handler.getOwnPropertyDescriptor()
The handler.getOwnPropertyDescriptor() method is a trap for the [[GetOwnProperty]] object internal method, which is used by operations such as Object.getOwnPropertyDescriptor().
Return value: The getOwnPropertyDescriptor() method must return an object or undefined, representing the property descriptor. Missing attributes are normalized in the same way as Object.defineProperty().
Parameters: The following parameters are passed to the getOwnPropertyDescriptor() method. this is bound to the handler.
Parameters: target The target object. property A string or Symbol representing the property name.
Syntax example: new Proxy(target, {
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
