DEV Community

Discussion on: Simple Rules to Master 'this' Context

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Hey nice - I would just point out you've missed out .bind() as a method of fixing this. Especially important if you forward functions to other places - or use event handlers etc.

Collapse
 
dotnetdreamer profile image
Idrees Khan

To be honest, I never used but glad that you have pointed out 😅