September 2024
Beginner to intermediate
985 pages
35h 37m
English
Some languages like Python already support modules natively. JavaScript, by contrast, lacked such support until recently. Only with version ES2015 are modules a part of the standard and thus of the JavaScript language. But because this hasn’t been the case for a relatively long time, various design patterns and techniques have emerged over time to build source code in a modular fashion and group it into reusable modules.
In the course of this, two quasi standards have also developed, which have the modularization of the source code as their goal: on the one hand, CommonJS, which primarily addresses the use of modules on the server side—for example, for use under Node.js; and on the other hand, asynchronous ...
Read now
Unlock full access