Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

handler.ownKeys()

2 tags 1 category

The handler.ownKeys() method is a trap for the [[OwnPropertyKeys]] object internal method, which is used by operations such as Object.keys(), Reflect.ownKeys(), etc.

Return value: The ownKeys() method must return an array-like object where each element is either a String or a Symbol containing no duplicate items.

Parameters: The following parameter is passed to the ownKeys() method. this is bound to the handler.

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…