Gonna explore where this can go wrong by using a series of scenarios.
Scene 3: Borrowing another method that uses this
Ok so garfield wants to bark. Sometimes we must borrow methods from another source. In this example, Garfield would like to bark, but the whistle steals the spotlight. This can be fixed by using apply. apply will set this to its argument:
Scene 4: Assign a method that uses this to a variable
I thought I was gonna get some fast food, but to my surprise I got something even better. But since the man gots to keep us down, I’m gonna use var todaysOrder = lunch.order.bind(hunger) to fix this issue and crush some dreams.