new line in javasxript code example
Example 1: new line in js
document.write("\n");
//second method for html page
document.write("<br>");
Example 2: new line javascript
console.log('Hello \n World');
document.write("\n");
//second method for html page
document.write("<br>");
console.log('Hello \n World');