InterviewBuddy
All interview questions

In JavaScript, what is a common mistake with block scope?

Advanced

Answer

const prevents reassignment but not mutation of nested object fields.