Which of the following module require to create server for NodeJS?
Correct Answer: http
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Node.js Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Node.js MCQ Questions
Which of the following engine built of NodeJS framework/platform?
Which are the below NodeJS features?
Which of the following code print the name of operating system?
Which of the libs are exists in Node Core Libraries?
Which of the following provides in-built events?
Consider the following javascript code. console.log('first'); setTimeout(function() { console.log('second'); }, 0); console.log('third'); What will be the output?
What output will this code produce in the console? const EventEmitter = require('events'); const myEmit = new EventEmitter(); myEmit.on('slick', () => {}); myEmit.on('key', () => {}); const symbol = Symbol('init'); myEmit.on(symbol, () => {}); console.log(myEmit.eventNames());
Which of the following code converts a buffer buf to JSON object?
Which of the following code gets length of a buffer buf?
What is the output when the following code is executed? var http = require('http'); var server = http.createServer(function(req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end(` Testing Response! ${req.url} ${req.method} `); }); server.listen(3000); console.log('Server listening on port 3000');