Новая линия в JS
document.write("\n");
//second method for html page
document.write("<br>");
JavascriptNinja
document.write("\n");
//second method for html page
document.write("<br>");
document.write("\n");
\r\n
console.log('Hello \n World');
+"<br>"
document.write("<br>"+ n1)// here n1 is variable and the value of n1 print in next line