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
A. Keywords
B. Declaration statements
C. Datatypes
D. Prototypes
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. 7. The “var” and “function” are
A. Keywords B. Declaration statements C. Datatypes D. Prototypes
Explanation: The var and function are declaration statements—they declare or define variables and functions. These statements define identifiers (variable and function names) that can be used elsewhere in your program and assign values to those identifiers. 8. Consider the following statements