Simulating Module Pattern and Dependency Injection Using IIFE in JavaScript

Inspired by Hitesh Choudhary’s Chai aur Code YouTube channel