Node.js console.log throws me undefined
var sys = require("util");
When I try to run this code in the console, I get undefined
as output. Even the below expression is throwing undefined for me at runtime.
console.log("Hello World");
Output
Hello World
Undefined
Are we going to build our own server and write code with node.js?
+3
source to share