Hello World
Video Course on Real-Time HTML5 with Node.jsjust
console.log("hello world");
the javascript engine (V8) does not know what IO even means
what makes Node special that it creates a hosting envrionment for the JavaScript, like a browser. It extends JavaScript with extra capabilities, like filesystem, IO, etc.
it's NodeJS that adds
console.log
process.stdout.write("Hello World")
is the same but at low level (doesn't work on my computer)console.log
is actually a writeln
maps to linux semantics