封装组合继承函数
摘要:通常的组合继承模式如下1 function Papa(){};2 function Child(){3 Papa.apply(this,arguments);4 };5 Child.prototype = new Papa();6 Child.prototype.constructor = ...
阅读全文
posted @ 2015-10-31 17:05
posted @ 2015-10-31 17:05
posted @ 2015-10-28 21:53
posted @ 2015-10-28 20:05
posted @ 2015-10-24 09:42
posted @ 2015-10-23 14:30