如上面的例子,如果直接调用
getName 那么返回的是
window ,但是通过
call 方法,将函数绑定到了
obj 上,成为obj的一个函数,同时里面的
this 也指向了
obj