Inner functions and outer 'this' (Re: That hash symbol)
allen at wirfs-brock.com
Tue Mar 29 09:18:34 PDT 2011
On Mar 29, 2011, at 7:26 AM, David Herman wrote:
> PS A propos of nothing, the ^this syntax probably doesn't work because of ASI; try parsing:
> x = y
I specified that "^this" was a lexical token so I ASI should work fine. But you would have to say
y ^ /'*whitespace*/ this.foo()
if you wanted xor which is a breaking syntax change.
I suppose we could use the universal # solution and make it #^this although that is less visually attractive.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss