Open In App

Web technologies Questions | Node.js Quiz | Set-1 | Question 2

How modules in Node.js can be connected from one component to another ?
(A) Expose
(B) Module
(C) Exports
(D) All of the above

Answer: (C)
Explanation: Exports in Node.js are used to export the component from one module to another. It can also export to literal, function, or object. It is responsible for including the JavaScript file into the node.js applications.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :