A lot of times you get confused about who this refers to. Here’s an example of what this refers to in a function call

1. fn() this => window

2. obj.fn() this => obj

3. fn.call(xxx) this => xxx

4. fn.apply(xxx) this => xxx

5. fn.bind(xxx) this => xxx

6. New Fn() this => points to a new object