Fw: lexical 'super' in arrow functions?

Claus Reinke claus.reinke at talk21.com
Sun Dec 2 12:13:57 PST 2012


First attempt got lost or stuck somewhere, trying again.

--------------------------------------------------
From: "Claus Reinke" <claus.reinke at talk21.com>
Sent: Thursday, November 29, 2012 10:02 PM
To: <es-discuss at mozilla.org>
Subject: lexical 'super' in arrow functions?

> Is 'super' currently limited to method bodies, excluding local functions?
> 
> Given that 'this' is lexical in arrow functions, I expected any enclosing
> 'super' to be available, as well, but I cannot confirm this from the spec.
> 
> This is from listening in on some of the TypeScript traffic, where people
> are running into all kind of issues when trying to use ES6 classes, btw. 
> 
> Claus
> http://clausreinke.github.com/
> 


More information about the es-discuss mailing list