> What is an arrow function bound to in a module?
>
> ```js
> export var a = () => this;
> ```
>

As with all arrow functions, `this` is lexically bound, so it will bind to
whatever `this` is bound to within the module.  Which is kinda the question
at hand.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to