//call person={ name: function(){ return this.name } } zhu={ name:'fei' } person.name.call(zhu) //call 带参数 ren={ name: function(city){ return this.name + city } } long={ name:'fei', } ren.name.call(long,'zhuhai') //apply 带参数 people={ name: function(city,school){ return this.name + city + school } } longtiao={ name:'fei', } people.name.apply(longtiao,['zhuhai','10xiao'])