Easy Remember JavaScript Fundamentals Multiple Choice
Which statement about let and var is TRUE?
Remember — Tests recall of fundamental facts and definitions.
Answer Options
A let is function-scoped, var is block-scoped
B var is block-scoped, let is function-scoped
C let is block-scoped, var is function-scoped
D Both are block-scoped
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 34+ more JavaScript Fundamentals questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the JavaScript Fundamentals topic (Programming Languages).