Does javascript have literal strings?

DevelopingChris picture DevelopingChris · Mar 31, 2010 · Viewed 24k times · Source

In c# and ruby and many other languages you can denote a string as to not need escaping.
in c# its like this

string s = @"\whatever\this\is";

the results are when printed

\whatever\this\is

my question is, is this supported in any form in javascript?

Answer

Peter Bailey picture Peter Bailey · Mar 31, 2010

Short answer: No

Long answer: Noooooooooooooooooooooooooo