var s = "123n456" or
var s = "123rn456".
console.log(s), the dev tools of a browser displays real newlines in console.
I would like to know how to print literally the string. For instance, I want to see
123rn456 in dev tools or a browser.
Could anyone help?