Arrow functions don't have their own this
@nathansl-cell▲ 5 net votes
They capture this from the surrounding scope, which is why they suit callbacks but not object methods that use this.
5 COMMENTS
Important
Enlightening
Top-notch
Essential
Notable