Closed Bug 1337279 Opened 9 years ago Closed 9 years ago

\ character should be allowed as EOL escape for js

Categories

(Firefox :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jmichae3, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170125094131 Steps to reproduce: broke up long conditionals by ending lines with \ this should work, but debugger throws errors on it as an invalid character. EBNF?
you don't need extra character to split lines, you can put newline into almost everywhere you like, unless the syntax doesn't allow newline at that point (e.g. between `return` and expression) also, you can use \ inside string to split string into multiple lines.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.