摘要: 1.首先通过一个函数来实现JS的单继承。使用原型方式来实现继承 1 (function () { 2 3 $.extend({ 4 oop: { 5 extend: function (child, father) { 6 ... 阅读全文