DEV Community

Discussion on: Basic JS Interview: var, let and const

Collapse
 
indoor_keith profile image
Keith Charles

Just to clarify, both const and let allow for mutable variables, but const doesn't allow for reassignment. (Mutation and reassignment are two different things)

Collapse
 
oneofthedevs profile image
Dev Chhaniyara

Thanks for feedback, sorry, I'll try my best to be more through and do more fact checking next time 🙂