ES modules: A cartoon deep-dive

ES modules bring an official, standardized module system to JavaScript. It took a while to get here—but the wait is almost over. With the release of Firefox 60 in May, all major browsers will support ES modules, and there is current work to add ES module support to Node.js as well. Many JavaScript developers know that ES modules have been controversial. But few actually understand how ES modules work.
Lin Clark illustrates how ES modules work, what problem they solve, and how they are different from modules in other module systems.

Link: https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/