NIELIT O Level Exam

When an empty statement is encountered, a JavaScript interpreter __________

When an empty statement is encountered, a JavaScript interpreter __________

जब एक एम्प्टी स्टेटमेंट का सामना करना पड़ता है, एक जावास्क्रिप्ट इंटरप्रेटर __________

A. Ignores the statement स्टेटमेंट को इग्नोर करता है

B. Prompts to complete the statement स्टेटमेंट कम्पलीट करने का संकेत

C. Throws an error एक एरर फेंकता है

D. Shows a warning वार्निंग दिखाता है




Correct Answer is :

A. Ignores the statement



Explanation
The JavaScript interpreter takes no action when it executes an empty statement. The empty statement is occasionally useful when you want to create a loop that has an empty body.
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