1. What is CommonJS ? Junior A. exports is just a reference to module.exports, so reassigning exports breaks the link B. Node's original module system using require() and module.exports, loaded synchronously C. the absolute directory path of the current CommonJS module D. Node resolves a bare specifier by walking up parent node_modules directories Answer + AI explanation with Pro
2. Which term means: "Node's original module system using require() and module.exports, loaded synchronously"? Junior A. require resolution B. CommonJS C. ES modules in Node D. __dirname Answer + AI explanation with Pro
3. Which statement is correct? Junior A. CommonJS — the absolute directory path of the current CommonJS module B. CommonJS — Node's original module system using require() and module.exports, loaded synchronously C. CommonJS — the entry file a package exposes when it is required by name D. CommonJS — exports is just a reference to module.exports, so reassigning exports breaks the link Answer + AI explanation with Pro
4. What is ES modules in Node ? Mid A. the entry file a package exposes when it is required by name B. Node's original module system using require() and module.exports, loaded synchronously C. the absolute directory path of the current CommonJS module D. import/export support enabled via .mjs or "type":"module", loaded asynchronously Answer + AI explanation with Pro
5. Which term means: "import/export support enabled via .mjs or "type":"module", loaded asynchronously"? Mid A. ES modules in Node B. __dirname C. module.exports vs exports D. require resolution Answer + AI explanation with Pro
6. Which statement is correct? Mid A. ES modules in Node — Node resolves a bare specifier by walking up parent node_modules directories B. ES modules in Node — the entry file a package exposes when it is required by name C. ES modules in Node — Node's original module system using require() and module.exports, loaded synchronously D. ES modules in Node — import/export support enabled via .mjs or "type":"module", loaded asynchronously Answer + AI explanation with Pro
7. What is module.exports vs exports ? Mid A. import/export support enabled via .mjs or "type":"module", loaded asynchronously B. Node's original module system using require() and module.exports, loaded synchronously C. the entry file a package exposes when it is required by name D. exports is just a reference to module.exports, so reassigning exports breaks the link Answer + AI explanation with Pro
8. Which term means: "exports is just a reference to module.exports, so reassigning exports breaks the link"? Mid A. require resolution B. package.json main C. __dirname D. module.exports vs exports Answer + AI explanation with Pro
9. Which statement is correct? Mid A. module.exports vs exports — Node resolves a bare specifier by walking up parent node_modules directories B. module.exports vs exports — Node's original module system using require() and module.exports, loaded synchronously C. module.exports vs exports — exports is just a reference to module.exports, so reassigning exports breaks the link D. module.exports vs exports — the absolute directory path of the current CommonJS module Answer + AI explanation with Pro
10. What is require resolution ? Mid A. the absolute directory path of the current CommonJS module B. the entry file a package exposes when it is required by name C. Node's original module system using require() and module.exports, loaded synchronously D. Node resolves a bare specifier by walking up parent node_modules directories Answer + AI explanation with Pro
11. Which term means: "Node resolves a bare specifier by walking up parent node_modules directories"? Mid A. require resolution B. module.exports vs exports C. __dirname D. CommonJS Answer + AI explanation with Pro
12. Which statement is correct? Mid A. require resolution — Node resolves a bare specifier by walking up parent node_modules directories B. require resolution — exports is just a reference to module.exports, so reassigning exports breaks the link C. require resolution — the absolute directory path of the current CommonJS module D. require resolution — Node's original module system using require() and module.exports, loaded synchronously Answer + AI explanation with Pro
13. What is __dirname ? Junior A. the absolute directory path of the current CommonJS module B. Node's original module system using require() and module.exports, loaded synchronously C. exports is just a reference to module.exports, so reassigning exports breaks the link D. Node resolves a bare specifier by walking up parent node_modules directories Answer + AI explanation with Pro
14. Which term means: "the absolute directory path of the current CommonJS module"? Junior A. __dirname B. module.exports vs exports C. CommonJS D. require resolution Answer + AI explanation with Pro
15. Which statement is correct? Junior A. __dirname — exports is just a reference to module.exports, so reassigning exports breaks the link B. __dirname — the absolute directory path of the current CommonJS module C. __dirname — the entry file a package exposes when it is required by name D. __dirname — import/export support enabled via .mjs or "type":"module", loaded asynchronously Answer + AI explanation with Pro
16. What is package.json main ? Junior A. the entry file a package exposes when it is required by name B. import/export support enabled via .mjs or "type":"module", loaded asynchronously C. exports is just a reference to module.exports, so reassigning exports breaks the link D. Node resolves a bare specifier by walking up parent node_modules directories Answer + AI explanation with Pro
17. Which term means: "the entry file a package exposes when it is required by name"? Junior A. require resolution B. package.json main C. module.exports vs exports D. ES modules in Node Answer + AI explanation with Pro
18. Which statement is correct? Junior A. package.json main — Node resolves a bare specifier by walking up parent node_modules directories B. package.json main — the entry file a package exposes when it is required by name C. package.json main — import/export support enabled via .mjs or "type":"module", loaded asynchronously D. package.json main — exports is just a reference to module.exports, so reassigning exports breaks the link Answer + AI explanation with Pro