The Magic of this, call(), apply(), and bind() in JavaScript
Introduction
Many JavaScript learners find the this keyword confusing at first. The reason is simple: its value changes depending on how a function is executed.
A good way to think about this is as a
web-dev-cohort-26.hashnode.dev4 min read