What are globals in node.js?



What are globals in node.js?..

Answer / Puneet Awasthi

{n "globals": "Variables or functions that are available within the global scope of a Node.js application",n "example": "var myGlobal = 'Hello World'; console.log(myGlobal);"n}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

Using the event loop what are the tasks that should be done asynchronously?

1 Answers  


Which module is used for buffer based operations?

1 Answers  


How will you debug an application in Node.js?

1 Answers  


How long will it take to learn node js?

1 Answers  


Why Node.js application is scalable?

1 Answers  


What are global installations of dependencies?

1 Answers  


What is npm? What is the main functionality of npm?

1 Answers  


How to run multiple node js files?

1 Answers  


How to connect mysql database using node js?

1 Answers  


What do you understand by middleware? How can you use middleware in node js?

1 Answers  


Explain 'Path' module in Node.JS?

1 Answers  


Describe the exit codes of node.js.

1 Answers  


Categories