Jak chnge linia w przeglądarce 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