1.作为函数
2.作为函数对象
3.箭头函数中
4.事件中
5.定时器中
6.作为方法被调用
this指向全解刨
原文:https://www.cnblogs.com/-constructor/p/12450172.html