new line in js
snippet in javascript

new line in js

user5227

document.write("\n");
//second method for html page
document.write("<br>");

new line javascript

user3731

console.log('Hello \n World');

new line with javascript write

user4774

res.write("\n");

javascript string return character

user5985

var str = "HELLO WORLD";
var res = str.charAt(0);