87,907
社区成员
发帖
与我相关
我的任务
分享
Function.prototype.createDelegate = function(param, scope){
var me = this;
return function(){
me.call(scope, param);
};
}
var a = {b:1, c:2, k:function(param){alert(param);alert(this.b)}}
setTimeout(a.k.createDelegate('ddd', a), 1000);