Home / Programming MCQs / JavaScript MCQs / Question

D

Durgesh • 8.64K Points
Tutor III

Q. When interpreter encounters an empty statements, what it will do:

(A) Shows a warning
(B) Prompts to complete the statement
(C) Throws an error
(D) Ignores the statements
Explanation by: Lalit Singh
In JavaScript, when the interpreter encounters a empty statements it normally ignores or not response to that empty statement. The empty statements also sometimes very useful like we use the empty statements for creating loop for nothing.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.