convert new line into break javascript code example
Example 1: how to go to next line in javascript
document.write("\n");
Example 2: new line javascript
console.log('Hello \n World');
document.write("\n");
console.log('Hello \n World');