typescript new line character in string code example
Example 1: new line with javascript write
res.write("\n");
Example 2: javascript string return character
var str = "HELLO WORLD";
var res = str.charAt(0);
res.write("\n");
var str = "HELLO WORLD";
var res = str.charAt(0);