hello world application in nodejs

Nodejs is a JavaScript command line runtime using chromes v8 engine known for its wicked fast speed and execution time. its well known that  the v8 engine compiles JavaScript to archive its impressive performance.
Nodejs is a command line application ie the output will be forwarded to the console in our case the terminal of your shell.
In your terminal or text editor type
console.log("Hello World")
save the file simply as helloworld.js
In your terminal type node helloworld.js
Output // Hello World
// Hooray You dit it.

Comments

Popular posts from this blog

Hello world application in Kotlin

How to set content disposition headers for express nodejs apps