Function declarations with lexical `this`?

Allen Wirfs-Brock allen at
Tue Jun 25 10:41:45 PDT 2013

On Jun 24, 2013, at 11:37 PM, Axel Rauschmayer wrote:
> Given that generators use the `this` that the function would have (at least that’s how I read the spec – `this` is the global object for a non-strict generator function, `undefined` for a strict generator function, the receiver of the method invocation for a generator method), a generator arrow function would even be useful: a generator with lexical `this`.


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

More information about the es-discuss mailing list