Can javascript code be broken in different lines?
Breaking is possible within a string statement by using a backslash \ at the end but notwithin any other javascript statement.that is, document.write(“Hello \world”); is possible but not document.write\(“hello world”); Yes, JavaScript code can be broken into different lines for the purpose of readability and organization. This practice is called line breaking or line wrapping. … Read more