[[Invoke]] vs [[Get]]

Juan Ignacio Dopazo dopazo.juan at gmail.com
Sun Jun 9 11:57:28 PDT 2013

2013/6/9 Brian Di Palma <offler at gmail.com>

> On Sun, Jun 9, 2013 at 4:18 PM, Tom Van Cutsem <tomvc.be at gmail.com> 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


let f = obj.f;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130609/3600414b/attachment.html>

More information about the es-discuss mailing list