Files
vectorcraft/docs
dotCooCoo 938de6e8a3 JavaScript: Symbol keys reach a proxy's target, Reflect keeps Symbol keys, and a sealed global skips Proxy and Reflect
- A Symbol key on a proxy now goes to its innermost target for every
  operation: a definition, write or deletion no longer lands on the proxy
  object itself. Object.freeze, Object.seal, Object.isFrozen and
  Object.isSealed therefore work on a proxy whose target has Symbol
  properties instead of throwing a TypeError.
- Reflect.get, set, has, defineProperty, deleteProperty and
  getOwnPropertyDescriptor keep a Symbol key as a Symbol, and
  Reflect.ownKeys lists Symbol keys after the string keys.
- A realm whose global object an earlier run made non-extensible runs its
  ECMAScript 2015 code without Proxy and Reflect, instead of failing every
  run with an installation error.
- JSON.stringify charges a replacer array's names to the heap as they are
  kept, not the array's whole length up front.
- for-in checks each name's descriptor from the object that listed it, so a
  proxy that did not list a name does not hide an inherited one.
- An Array subclass constructed with a proxy newTarget runs the proxy's get
  trap before any revoked inner proxy is reached.
- The legacy reflect.find reads its lists without calling proxy traps.
2026-12-01 20:31:33 -08:00
..