[[Invoke]] and implicit method calls

Kevin Smith zenparsing at gmail.com
Mon Sep 23 18:14:16 PDT 2013


Hi Allen,

Your line of thinking has convinced me that `invoke` as it currently stands
doesn't really fly.  However, I have an issue with your proposal.  Take
this fragment:

    (1) function f() { doSomethingWith(this); }
    (2) f.call(obj);

Presently, the expression at (2) grants the function `f` access to `obj`.
 If I understand correctly, under your proposal the expression at (2), in
the case where `obj` is a proxy, additionally grants `obj` access to `f`.
 Is that right?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130923/0f891602/attachment.html>


More information about the es-discuss mailing list