The let keyword cannot be used ___________
A. as a substitute of var
B. as a block statement to define new variables
C. to define variables that are scoped to a single expression
D. in a else if loop, as a substitute for var
Answer: d
Explanation: The let keyword can be used in four ways :
as a variable declaration like var;
in a for or for/in loop, as a substitute for var;
as a block statement, to define new variables and explicitly delimit their scope; and
to define variables that are scoped to a single expression.