Before we dive into code, we need to take a step back and discuss some theories.
We will first take a short detour through the history of JavaScript to better understand what modules are and where they come from, before looking at how they're defined in TypeScript.