3

Closed

Naive "this" capture with arrow functions

description

In short, arrow functions always (if needed) capture

this

by assigning it to _this temporary:

var _this = this;

I think the compiler should use a different name for the temporary if
_this is otherwise in scope.
Closed Nov 6, 2012 at 5:32 PM by LukeH
This is a duplicate of issue #11.

comments

rwaldron wrote Oct 20, 2012 at 2:13 PM

Duplicate.