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?
沒有留言:
張貼留言
你好!歡迎你在我的 Blog 上留下你寶貴的意見。