this is used to refer an object. But which object this refers too depends on the code you’re executing and how
this and how to keep track of it. You’ll learn how to know when this is the global object (and what the global object is in the browser), how this and the new operator work together, and common situations when it’s easy to lose track of this, and how to fix your code if you’ve slipped on a
this banana peel.
I just slipped on a banana peel named “this”