Inner functions and outer 'this' (Re: That hash symbol)
Peter van der Zee
ecma at qfox.nl
Tue Mar 29 00:12:28 PDT 2011
On Tue, Mar 29, 2011 at 4:16 AM, Erik Arvidsson <erik.arvidsson at gmail.com>wrote:
> We (Chromium/V8) discussed introducing 'self' as a a way to get the
> lexically bound 'this'. The main issue we could think of was that it
> might be hard for users to know when to use '^this' vs when to use
`self` will almost definitely break code and coding habits, whereas `^this`
might but is very unlikely to.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss