/simple-example-of-observer-pattern

Create simple example of Observer Pattern

Primary LanguageJavaScript

The Example Observer Pattern

The Observer is a design pattern where an object (known as a subject) maintains a list of objects depending on it (observers), automatically notifying them of any changes to state.

Issue

Create simple example of Observer Pattern

Installation instructions

Be sure to have installed Node.js in your system for testing. Install dependencies:

npm install

Run tests

In terminal in the folder:

npm test