The Magic of this, call(), apply(), and bind() in JavaScript
What this Means
this refers to who is calling the function — not where the function is defined, but who invokes it. The value of this is decided at call time, based on how the function gets called.
th
dt89.hashnode.dev3 min read