JavaScript’s
this
is the butt of many jokes, and that’s because, well, it’s pretty complicated. However, I’ve seen developers do much-more-complicated and domain-specific things to avoid dealing with thisthis
. If you’re unsure aboutthis
, hopefully this will help. This is mythis
guide.