Consider the following code. const http = require(‘http’); c…
Consider the following code. const http = require(‘http’); const url = require(‘url’); const server = http.createServer((req, res) => { const parsedUrl = url.parse(req.url, true); if (parsedUrl.pathname === “/product”) { const id = parsedUrl.query.id; res.end(“Product ID: ” + id); } else { res.end(“Home”); } }); server.listen(3000); What will the browser display if a user visits: http://localhost:3000/product?id=25?