- 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 24 times
2. What is the purpose of this piece of code in Node.js? 1 exports.m= function () { return Date();}; O making m availabl
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
2. What is the purpose of this piece of code in Node.js? 1 exports.m= function () { return Date();}; O making m availabl
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