Understanding this in JavaScript
What is this
this is a special keyword in JavaScript.
this = the object that is calling the function
It does NOT depend on where the function is written.It depends on how the function is called.
Si
namrabuilds.hashnode.dev3 min read