You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* in your own words. explain the four principle for the "this" keyword below.
*
* 1. The value here will be the same as the Object of the window.
* 2. In an inplicit binding, it takes in an object as the argument and depending on which object it is, there is a different meaning of this everytime it's logged out.
* 3. A new binding is used with constructor functions and speaks about the object that is crreated abd returned in that function.
* 4. It is explicitly called with the .call or .apply methods.
*
* write out a code example of each explanation above