Let's follow the ritual of programming and start by creating a program which will print hello world on the console as output. Code is given below:
//file-name : hello-world.js
console.log('hello world');
>node hello-world.js
hello world