Medium-EasyJavaScript & TypeScriptMultiple Choice

What is the difference between let, const, and var?

Tests your understanding of this concept.

Answer Options

ANo difference
Bvar is function-scoped; let/const are block-scoped
Clet is faster than var
Dconst allows reassignment

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more JavaScript & TypeScript questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the JavaScript & TypeScript topic (Programming Languages).

More JavaScript & TypeScript Questions