-
What is block statement in JavaScript?
-
- block that combines multiple statements into a single compound statement
- both conditional block and single statement
- block that contains a single statement
- conditional block
- None of these
Correct Option: A
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.