Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

Answer: a
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.

Join The Discussion