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.
Asked: 2022-01-06 11:00:00 +0000
Seen: 18 times
Last updated: Apr 18 '21