[[Invoke]] and implicit method calls
brendan at mozilla.com
Thu Sep 19 05:05:12 PDT 2013
> Tom Van Cutsem <mailto:tomvc.be at gmail.com>
> September 19, 2013 9:53 AM
> 2013/9/19 Allen Wirfs-Brock <allen at wirfs-brock.com
> <mailto:allen at wirfs-brock.com>>
> I really don't think we need to debate this much longer. We just
> need to stay the course with [[Invoke]] and I can update the spec.
> to replace [[Get]]+[[Invoke]] rather than [[Get]]+[[Call]] for
> this conditional situations. I may also added add a note
> suggesting that the extra [[Get]] can be eliminated.
> Refactoring [[Get]]+[[Call]] to [[Get]]+[[Invoke]] seems fine by me.
> It better expresses the intent, and the change should only be
> observable to proxies.
Is this so? Wouldn't an ordinary object with a getter be able to observe
the two lookups? Indeed wouldn't the spec require this?
More information about the es-discuss