JavaScript设计模式的作用——提高代码的重用性,可读性,使代码更容易的维护和扩展。
The Factory Pattern--工厂模式
The Bridge Pattern--桥接模式
The Composite Pattern--组合模式
The Facade Pattern--外观模式
The Adapter Pattern--适配器模式
The Decorator Pattern--装饰者模式
The Flyweight Pattern--享元模式
The Proxy Pattern--代理模式
The Observer Pattern--观察者模式
The Command Pattern--命令模式
The Chain of Responsibility Pattern--职责链模式