Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJShttp server basicsSingle-choice MCQ

What status code does a Node http.Server send by default if you only call res.end() without setting one?

const http = require('node:http'); http.createServer((req, res) => { res.end('done'); }).listen(3000);