logo image

JavaScript program to print a multiline Hello World!

33


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!