JavaScript编程设计模式之观察者模式(Observer Pattern)实例详解