4 ms·
It means it inherits the 'this' of the enclosing function. Without fat arrow: function outer() { function inner() { this === inner.this; } } With fat arrow: f
by Skinney 12y ago
It means it inherits the 'this' of the enclosing function.
Without fat arrow: function outer() { function inner() { this === inner.this; } }
With fat arrow: function outer() { var inner = => this === outer.this; }