摘要:
1、Factory基本写法 简单工厂模式之一个对象有时候可以代替许多类 2、Factory差异性写法 简单工厂模式之差异化写法——三种弹窗效果封装 阅读全文
摘要:
oopObject——js面向对象编程实例 阅读全文
摘要:
1、单对象克隆 singleClone 2、多对象克隆 multipleClone 阅读全文
摘要:
prototypeInherit 阅读全文
摘要:
groupInherit 阅读全文
摘要:
constructorfunctionInherit 阅读全文
摘要:
classInherit 阅读全文
摘要:
技巧点:对象方法中返回当前对象就可以链式调用了,即方法中写return this; returnObject 阅读全文
摘要:
closure的自调用函数式写法 阅读全文
摘要:
closure 阅读全文