Files
vectorcraft/docs
dotCooCoo 91f76bc40a JavaScript: Symbol reads through a proxy call its get trap, and ownKeys traps may return Symbol keys
A read of a Symbol key on a proxy, or on an object with a proxy on its
prototype chain, now calls the proxy's get trap with the Symbol and the
receiver (ECMA-262 9.5.8) and checks the result against the target's
non-configurable Symbol properties.

An ownKeys trap may now return Symbol keys (9.5.11). A Symbol given
twice, a non-configurable Symbol key of the target left out, and for a
non-extensible target any Symbol key left out or added throw a
TypeError. The target's descriptors are read in its key order with one
isExtensible call. Reflect.ownKeys, Object.getOwnPropertySymbols and the
Object functions that list keys take a proxy's keys from one trap call
and keep the order the trap gave, Symbols included.
2026-12-02 01:09:46 -08:00
..