What will be the console output of below Node.js code snippet, after running it and tried to access the url "http://localhost:3000/" from browser?

var http=require('http'); 
var server=http.createServer(function (request, response) {  
   console.log("Request Received");  
   response.end(); 
    });  
server.listen(3000);  
console.log("Server Running"); 

Server Running
Request Received
Request Received
Server Running
Request Received
Request Received
Server Running
Request Received
Correct Option - a

To get all Infosys Certified Node Developer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in