javascript——call

可以让call()中的对象调用当前对象所拥有的function。

var age = 5;
function foo() {
  alert(this.age)
}
foo.call(this)
原文地址:https://www.cnblogs.com/Tjinhui/p/6738507.html