摘要:
1 Function.prototype.method = function (name, func) { 2 this.prototype[name] = func; 3 }; 4 Function.method("createInstance", function () { 5 ... 阅读全文
posted @ 2016-01-11 20:49
无状态的程序猿
阅读(116)
评论(0)
推荐(0)
摘要:
1 var s = 0, 2 b = 0; 3 function A(s) { 4 A = function () { 5 console.log(s + b++); 6 }; 7 console.log(A); 8 console.log(... 阅读全文
posted @ 2016-01-11 20:46
无状态的程序猿
阅读(414)
评论(0)
推荐(0)

浙公网安备 33010602011771号