Dependency Injection and Inversion of Control in JavaScript

https://medium.com/@viktor.kukurba/dependency-injection-and-inversion-of-control-in-javascript-303e07e7f43f