Q. When an empty statement is encountered, a JavaScript interpreter

  • (A) Ignores the statement
  • (B) Prompts to complete the statement
  • (C) Throws an error
  • (D) Throws an exception
πŸ’¬ Discuss
βœ… Correct Answer: (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.
Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
158
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate