79711863

Date: 2025-07-23 12:21:00
Score: 0.5
Natty:
Report link

The Express res.send() method only accepts one argument for the response body, unlike console.log which can take multiple.

Correct it to below line:

app.get('/', (req, res) => res.send('Hello from ' + require("os").hostname()))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shivam Bhosle