On Thu, Dec 10, 2009 at 12:51 PM, Mike Wilson <[email protected]> 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".

Cheers,
Tom
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to