Skip to content

Instantly share code, notes, and snippets.

@robotlolita
Created February 22, 2011 01:01
Show Gist options
  • Save robotlolita/838037 to your computer and use it in GitHub Desktop.
Save robotlolita/838037 to your computer and use it in GitHub Desktop.
var multiline_str = "some \
string \
spanning \
across \
lots \
of \
lines"
var multiline_str2 = "some "
+ "string "
+ "spanning "
+ "across "
+ "lots "
+ "of "
+ "lines "
// both results in "some string spanning across lots of lines"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment