Node.js · Junior · Question 11 of 75
Which two module systems does Node.js support?
- ✓Correct answer: CommonJS (
require) and ECMAScript modules (import) - 2AMD and UMD
- 3Only CommonJS
Explanation
CommonJS is the original Node.js system. ES modules are the language standard and are now fully supported. New projects usually choose ESM.