2013/6/9 Brian Di Palma <[email protected]>

> On Sun, Jun 9, 2013 at 4:18 PM, Tom Van Cutsem <[email protected]> wrote:
> >
> > No, we can't just blindly call GetValue in step 1 as that would lead to
> the
> > "get" trap being invoked on a proxy (which is the wrong trap).
> >
>
> Why can't we have the two traps trigger?
>
> I would imagine that proxies are meant to be consistent with
> getters/setters?
>

It seems like the right reasoning. The result of these operations should be
equivalent:

obj.f();

let f = obj.f;
f.call(obj);

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

Reply via email to