Inner functions and outer 'this' (Re: That hash symbol)

Peter van der Zee ecma at
Tue Mar 29 00:12:28 PDT 2011

On Tue, Mar 29, 2011 at 4:16 AM, Erik Arvidsson <erik.arvidsson at>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
> 'this'.

`self` will almost definitely break code and coding habits, whereas `^this`
might but is very unlikely to.

- peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list