Page 1 of 1

2. What is the purpose of this piece of code in Node.js? 1 exports.m= function () { return Date();}; O making m availabl

Posted: Tue May 24, 2022 7:45 am
by answerhappygod
2 What Is The Purpose Of This Piece Of Code In Node Js 1 Exports M Function Return Date O Making M Availabl 1
2 What Is The Purpose Of This Piece Of Code In Node Js 1 Exports M Function Return Date O Making M Availabl 1 (49.1 KiB) Viewed 25 times
2. What is the purpose of this piece of code in Node.js? 1 exports.m= function () { return Date();}; O making m available outside the current file in order to create a new module. O creating a new module named Date O including a module named mi O including a module named Date 8. Which one of the following is a Node.js built-in module? http O express O myDateTime O npm Incorrect Express is an external module you can install and use. 9. What is the meaning of 'require' in the following piece of code? 1 var http = require('http'); O running an HTTP web server O importing a module named HTTP O connecting to an HTTP server O defining an HTTP variable