JavaScript program to print a multiline Hello World!

Views: 13   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

console.log("Hello \nWorld!");

Output:

Hello 
World!
On By