In this example, you will learn to print 'Hello World' in JavaScript using console.log() function.
A "Hello, World!" program is a basic program that prints the phrase "Hello, World!" on the screen. Because it is a fairly basic program, it is frequently used to teach newcomers a new programming language.
PROGRAM :
console.log("Hello World");