• +91 9723535972
  • info@interviewmaterial.com

NodeJS Interview Questions and Answers

Question - What is the use of module.exports in Node.js?

Answer - The module.exports function is used to expose two functions and bring them to a usable context. A module is an entity that is used to store relative code in a single snippet. This can be considered as an operation of moving all of the functions into one single file.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners