Very simple question, but for some reason I can't find the answer anywhere after 10 minutes of Googling. How can I show escape characters when printing in Javascript?
Example:
str = HellonWorld;
console.log(str);
Gives:
Hello
World
When I want it to give:
HellonWorld