by @saigowthamr

How to print hello world in JavaScript

Home » javascript » How to print hello world in JavaScript

To print a hello world in JavaScript follow the below steps.

  1. Open your browser.
  2. Now left click in your mouse and select inspect option.
  3. Now click on the console tab.
  4. Add the below code.
console.log('Hello World');

It will print a hello world in your browser’s console.