InterviewBuddy
All interview questions

How do let and const differ?

Beginner

Answer

Both are block scoped. const prevents reassignment of the binding, while let permits it; const does not freeze an object’s contents.