When should you use arrow functions in JavaScript?


Use it every time to can but I would recommend you to avoid ‘this’ as much as possible in your code because depending on the context it will represent different things.