Function.prototype.bind = function(target){
var func=this;
return function(){
arguments.unshift(this);
func.apply(target, arguments);
};
};
參考來源:
Function.prototype.bind
FLASH - Can I extend Function's prototype in ActionScript?
0 回應:
張貼留言