-
When an empty statement is encountered, a JavaScript interpreter __________.
-
- Throws an error
- Shows a warning
- Ignores the statement
- Prompts to complete the statement
- None of these
Correct Option: C
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.