A. let and const are block-scoped, while var is function-scoped
B. var and let are block-scoped, while const is function-scoped
C. const and var are block-scoped, while let is function-scoped
D. They are all function-scoped
Correct Answer is :
A. let and const are block-scoped, while var is function-scoped