ExamVeda
Login
Home
This question belongs to Javascript Classes And Modules
Classes and Modules
?

The let keyword can be used

Answer & Solution
Correct Answer: Option D
The let keyword can be used in four ways :
1. as a variable declaration like var;
2. in a for or for/in loop, as a substitute for var;
3. as a block statement, to define new variables and explicitly delimit their scope; and
4. to define variables that are scoped to a single expression.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.