Como Chnge Line in Browser JS

const testStr = "Hello, World,\n and all you beautiful people in it!

console.log(testStr);
/*
Hello, World,
 and all you beautiful people in it! 
*/
Real Rhinoceros