by Stephen Sun

The Fickleness of This in JavaScript

When I first started learning JavaScript, the keyword this was such a confusing concept to grasp…as it is for most people.

Nevertheless, it’s something we must all learn, and I’m here to shed some light on the topic!

Understanding Scope First

Yes, I know we all just want to understand what this is, but first we need to understand…