Qtr No. 213, New Town Yehlanka Indore 454775
What will be the output in the browser for the URL: http://localhost:3000/ ?const http = require('http');
const server = http.createServer((req, res) => {
res.end("hello world");
res.end("hello")
})
server.listen(3000);
|
| hello |
| hello world hello |
| hello world |
| Code with throw error as res.end() can be used only once |
To get all Infosys Certified Node Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee
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
Updated on Thu, 30 Oct 2025