1 | initial version |
Implicit Bindings: When a function is called with a context, this keyword will be bound to that context.
Explicit Bindings: Call and apply methods are used to explicitly bind this to a function.
New Bindings: When a constructor function is called with the new keyword, a new object is created and this keyword is bound to that object.
Window Binding: If none of the above bindings are present, this keyword will refer to the global object or the window object in a browser.