Catch-all proposal based on proxies

Tom Van Cutsem tomvc at
Thu Dec 10 15:16:58 PST 2009

On Thu, Dec 10, 2009 at 12:51 PM, Mike Wilson <mikewse at> wrote:

> Why does the handler use "put" for the setter trap instead of "set" like in
> previous catchall proposals? (It seems get/set would also provide more
> symmetry with syntax in Object.defineProperty.)

Yes, "set" is indeed more consistent. We changed it.

>  [really minor nit-pick:] The proposal text sometimes uses the variable
> "p" for property names, sometimes for a proxy object. It might aid new
> readers if these were renamed "prop" and "proxy", respectively. A similar
> issue exists in the handler API listing where the same proxy object is
> referred to as both "proxy" and "receiver".

We modified the proposal page, including Brendan's suggestion of using
"name" instead of "p".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list