This keyword

Hey guys. I am taking the course introduction to javascript and the lesson is telling me that I need to avoid using the this keyword when defining a method via an arrow function. I’m wondering is there any reason that I would use the arrow function syntax at all? Isn’t it just more convenient to avoid using it at all costs?

like you said, arrow function syntax, for a method, use method syntax. es6 introduced both function shorthand (arrow function syntax) and method shorthand:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Method_definitions#Description