Easy
6 views
How do let, const, and var differ in scope and reassignment?
let and const are block-scoped, while var is function-scoped or script-global depending on context. const prevents reassigning the binding, but it does not make a referenced object immutable. let perm...
Verified Model Solution
View Full Answer