Explain the difference between let, const, and var in JavaScript.
Anonym
I explained that var is function-scoped and can be redeclared, while let and const are block-scoped. let allows reassignment, whereas const cannot be reassigned after initialization. I also mentioned hoisting behavior and the temporal dead zone for let and const.