Saturday, 25 January 2014

Break up a Code Line



Break up a Code Line
You can break up a code line within a text string with a backslash. The example below will be displayed properly:
document.write("Hello \
World!");
However, you cannot break up a code line like this:
document.write \
("Hello World!");


No comments:

Post a Comment