Getting Started

Let’s create a simple application to print “hello world” on console.

Let’s create a filename “firstApp.js” with below content.

console.log("hello world")  // save the file as firstApp.js

Getting Started node

To execute / Run this application use node and it will output hello world in the terminal.
Here console.log() function displays messages on console.

Below screenshot shows outcome of the program:

node firstapplication.js

First Appication

Subscribe Now