[[Invoke]] and implicit method calls, once more

Jason Orendorff jason.orendorff at gmail.com
Fri Oct 18 08:24:14 PDT 2013


I can't remember the conclusion of the earlier thread on this topic.

The question was about how implicit method calls should interact with
proxies in places (like
[ToPrimitive](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-toprimitive))
where the spec first checks that the desired method exists and is
callable, then calls it.

I seem to recall the result was either:

    1. don't change anything; or

    2. change those places to do [[Get]], if IsCallable, [[Invoke]]
instead of [[Get]], if IsCallable, [[Call]].

but the thread sort of trailed off.

-j


More information about the es-discuss mailing list