Cómo Chnge Line en el navegador 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