In a method, this refers to the owner object.
Alone, this refers to the global object.
In a function, this refers to the global object.
In a function, in strict mode, this is undefined.
In an event, this refers to the element that received the event.
10 Bad Developer Habits To Avoid
1. Not Enough Breaks
2. Not Asking For Help
3. Stop Being A Student
4. Dirty Code
5. Bad Work/Life Balance
6. Bad Office Politics
7. Not Learning From Mistakes
8. Giving Up Too Soon
9. Being A Know It All
10. Can't Take Constructive Criticism