1. What are the differences between var, let, and const in JavaScript?
Answer:
var: function-scoped, hoisted, can be redeclared.
let: block-scoped, cannot be redeclared in the same scope, but can be reassigned.
const: block-scoped, cannot be redec...