A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.