Skip to content

Instantly share code, notes, and snippets.

@niyazpk
Created December 11, 2011 17:50
Show Gist options
  • Save niyazpk/1461777 to your computer and use it in GitHub Desktop.
Save niyazpk/1461777 to your computer and use it in GitHub Desktop.
var long_line_1 = "This is a \
long line"; // ok
var long_line_2 = "This is a \
long line"; // syntax error
// because there is a space after \ in the second statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment