The Magic of this, call(), apply(), and bind() in JavaScript
What Does this Mean in JavaScript?
The simplest way to understand this is this:
this refers to the object that is calling the function.
Not where the function is written.Not where the function exists
chaimethod.hashnode.dev6 min read