条件:函数调用的时候 才有执行上下文 this
不同情况的调用,this也不同
1)当函数直接打点调用,此时的this 是window
2)事件触发函数,此时的this是触发这个事件的对象
3)当对象打点调用函数的时候,此时的this 是该对象
4)当数组枚举打点调用该函数的时候,此时的this 是数组
5)当定时器调用函数的时候,此时的this 是window
6)当函数通过打点调用call() ,apply()函数的时候,此时的this 是call() apply() 的第一个参数