Mediator

Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it allows their interaction to vary independently.

Examples in JavaScript
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in JavaScript!