NIELIT O Level Exam

What is a block statement in JavaScript?

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 ब्लॉक जो मल्टीपल स्टेटमेंट्स को एक सिंगल कंपाउंड स्टेटमेंट में जोड़ता है




Correct Answer is :

D. block that combines multiple statements into a single compound statement



Explanation
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.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad