`this`: methods versus functions
Andreas Rossberg
rossberg at google.com
Thu Nov 10 06:11:49 PST 2011
On 10 November 2011 14:49, Axel Rauschmayer <axel at rauschma.de> wrote:
> getX() is designed for a dynamic `this` (i.e. `this` is an instance of
> InnerPoint). My proposal would allow an external party to switch to lexical
> `this` (=== function Outer), simply by invoking it as a (non-method)
> function. I can see how this would be bad.
Ah, OK, never mind. I think I was actually misreading your proposal.
Thanks.
/Andreas
More information about the es-discuss
mailing list