In C#, Ruby, and many other languages you can denote a string as to not need escaping. In C# it’s like this
string s = @"\whatever\this\is";
The results are when printed:
\whatever\this\is
Is this supported in any form in JavaScript?
Short answer: No
Long answer: Noooooooooooooooooooooooooo