What is a JavaScript module?
Separating chunks of code to keep files short and succinct
What are the advantages of modular programming?
Easier readability, consumes less memory at once.
In JavaScript, how do you make a function in a module available to other modules?
Export (insert here),
EX: Export default add;
In JavaScript, how do you use a function from another module?
import (codeblock) from (file)
EX: import add from “.add.js”;