does javascript have literal strings?
Posted
by DevelopingChris
on Stack Overflow
See other posts from Stack Overflow
or by DevelopingChris
Published on 2010-03-31T14:24:42Z
Indexed on
2010/03/31
14:43 UTC
Read the original article
Hit count: 319
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?
© Stack Overflow or respective owner