Explanation: A statement block is a block that combines more than one statements into a single compound statement for ease. 6. 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
Answer:A
Explanation: A statement block is a block that combines more than one statements into a single compound statement for ease. 6. 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
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. 7. The “var” and “function” are