InterviewSolution
Saved Bookmarks
| 1. |
What is a block statement in JavaScript?(a) conditional block(b) block that contains a single statement(c) both conditional block and a single statement(d) block that combines multiple statements into a single compound statement |
|
Answer» Correct option is (d) block that combines multiple statements into a single compound statement For explanation I would say: A block statement groups zero or more statements. In languages other than JavaScript, it is known as a compound statement. A statement block is a block that combines more than one statements into a single compound statement for ease. |
|