Message from JavaScript discussions

October 2018

— Let me know when you post results!


There is no reason you can not access this in an arrow function, but it does behave differently... not respecting bind/call is one difference, and the other is that the call does not look left. In a method call that is how this is set, by quite literally looking to the left of the dot in the memberExpression

— So, this will be whatever it was set to in the parent scope

— It can sometimes be useful to not allow this to change in your functions when you are setting up nested callbacks

Message permanent page

— It can be an easy way to allow this to be “inherited” as a factor of variable scope

— Hey

— I want to start with js

— Any recomendation?

— Read topic man

— Oh jajajajajaja

— Thanks

— Read pinned message