fun.bind(thisArg, arg1, arg2, ...)
返回由指定的this值和初始化参数改造的原函数拷贝
function f(){
return this.a;
}
var g = f.bind({a:"azerty"});
console.log(g()); // azerty
var h = g.bind({a:'yoo'}); // bind只生效一次!
console.log(h()); // azerty
var o = {a:37, f:f, g:g, h:h};
console.log(o.f(), o.g(), o.h()); // 37, azerty, azerty
将原先指向window的this重新指向{a:"azerty"} 对象
注意:bind只生效一次!