This pattern allows 2 components, a client and service to work together with each having its interface. The main goal is to write better code with two levels of abstraction. A good example of Bridge Pattern would be an application (client) and a database driver (service) , the application writes to a well-defined database API, but you will find that each driver’s implementation is different for each database vendor (SQL, MySQL, Oracle, etc).
#javascript