call,apply和bind之间的共同点是都可以改变this指向
语法如下:
```
var obj = {
name:'zhangsan',
say:function(str,str2){
console.log(this.name+' '+str+' '+str2) // this {name:'李四'}
}
}
// obj.say('hello')
// obj.say.call({name:'李四'},'hello','world');// obj.say 函数中的 this 变成了{name:'李四'}
// obj.say.apply({name:'李四'},['hello','world'])
//obj.say.bind({name:'李四'},'hello','world');
var f = obj.say.bind({name:'李四'},'hello','world');
f();
```
但是他们也有不同点:
1.apply的第二个参数是一个数组
2.bind需要二次调用