newline - Is it always safe to change line breaks type (i.e. LF, CR+LF, CR) in javascript source? -


Can swap new lines (such as by some text editor) to break the javascript code?

There are two control letters in fact you do not need line breaks. It's just for better readability, except for those situations where you really need those letters like wire or regular expression, but there you can escape sequences \ n and \ r can also be used.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -