[[Invoke]] and implicit method calls

Brendan Eich brendan at mozilla.com
Wed Sep 11 15:07:05 PDT 2013

Allen Wirfs-Brock wrote:
>>> 1) The [[Invoke]] operation is meant to primarily trap method calls 
>>> generated by user-code of the form |obj.m(...args)|. This is by far 
>>> the most common case, and I believe we should not extend [[Invoke]] 
>>> with additional arguments that are irrelevant to this primary use 
>>> case. Rather than having a boolean argument, better to statically 
>>> separate the cases into two separate internal methods.
>> +a bazillion. Srsly!
> I'm not sold.  Two internal methods

Which two?

We had [[Get]]. We add [[Invoke]]. Or do you mean a different two?


More information about the es-discuss mailing list