Modules
9 lessons
- 01ModulesUnderstand the concept of modularity in JavaScript and why splitting code into multiple files is crucial.
- 02CommonJSLearn the legacy module syntax originally built for Node.js.
- 03Strict ModeOpt-in to stricter parsing and error handling using Strict Mode.
- 04ES6 ModulesMaster the modern, standard module syntax built natively into JavaScript.
- 05Node.js ModulesConfigure Node.js to natively support modern ES6 Modules.
- 06Browser ModulesUse ES6 modules directly inside your HTML files.
- 07Default ExportsLearn how to use default exports when a module only returns a single value.
- 08BundlersUnderstand the build tools that optimize and package your JavaScript for production.
- 09Chapter 15 Cheatsheet: ModulesA quick summary of JavaScript modules, CommonJS vs ES6, and bundlers.