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.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad