in JavaScript by
Can Javascript Code Be Broken In Different Lines?

1 Answer

0 votes
Breaking is possible within a string statement by using a backslash \ at the end but not within any other javascript statement.

that is ,

document.write("Hello \ world");

is possible but not document.write \

("hello world");
Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

0 votes
asked Feb 6, 2020 in JavaScript by rajeshsharma
0 votes
asked Jan 27, 2020 in JavaScript by AdilsonLima