Can JavaScript code be broken in different lines?
Submitted by: AdministratorBreaking 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");
Submitted by: Administrator
that is ,
document.write("Hello world");
is possible but not document.write
("hello world");
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | Example of using Regular Expressions for syntax checking in JavaScript? |
☺ | How to convert numbers to strings using JavaScript? |
☺ | How to shift and unshift using JavaScript? |
☺ | What looping structures are there in JavaScript? |
☺ | What is a prompt box? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |