- In the context of Node, what is a
module
?
A module is a reference to a value or function stored in another file but made available for use in another file.
- The code examples from the second blog post look very different from the first. Why?
The code examples in the 2nd post are for a specific library (RequireJS) that handles javascript modules for easier requiring.
👍