Single Choice
Not Set
QWhat happens if an interpreter runs into an empty statement:
ID: #4827
Python Basic MCQ
295 views
Question Info
#4827Q ID
Not SetDifficulty
Python Basic MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
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.
In JavaScript, an empty statement is a statement that does nothing.
It is simply a semicolon (;) with no accompanying code.
Empty statements are often used as placeholders in code where a statement is required, but no action needs to be taken
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic