W01 Learning Activity: Review JavaScript Modules
Overview
The basic concept of a module is to break down a program into more fundamental pieces for portability and maintainability.
Prepare
A module is a JavaScript file. Module functionality was developed in JavaScript programming to support the idea of a single responsibility principle. Of course, a module can contain a lot of things but the concept is to break down a program into more fundamental pieces for portability and maintainability.
- Review: ES Modules – WDD 231
Optional Resources
- Modules – MDN
- Modules, Introduction – javascript.info
- 🎦 JavaScript ES6 Modules Tutorial – Web Dev Simplified