Open In App

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

Like Article
Like
Save
Share
Report

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


Last Updated : 30 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads