n javascript code example
Example 1: js \n
//Example:
var i = 'Hello \n World'
console.log(i)
//Would return:
Hello
World
Example 2: new line with javascript write
res.write("\n");
Example 3: javascript string return character
var str = "HELLO WORLD";
var res = str.charAt(0);