Home » JavaScript » JavaScript Statements » Question

JavaScript Statements

  1. What is block statement in JavaScript?
    1. block that combines multiple statements into a single compound statement
    2. both conditional block and single statement
    3. block that contains a single statement
    4. conditional block
    5. 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.



Your comments will be displayed only after manual approval.