Possible Duplicate:
How to create multiline strings
In c# I can do this:
string str = @"asd
dsa
blah blah blah";
How can i do the same in JavaScript? + every string is bad idea...
Possible Duplicate:
How to create multiline strings
In c# I can do this:
string str = @"asd
dsa
blah blah blah";
How can i do the same in JavaScript? + every string is bad idea...
Add a \
backslash to the end of every line:
var string = "Hello\
world\
this\
is\
a string!";