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
Verified Answer
Correct Option - a

To get all Infosys Certified Node Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram