Can JavaScript code be broken in different lines?

Q

Can JavaScript code be broken in different lines?

✍: Guest

A

Breaking is possible within a string value by using a backslash \ at the end of the line. But this technique can not be used within any other values. For example:
document.write("Hello \
world");

2008-09-03, 4766👍, 0💬