DEV Community

Discussion on: Differences between "var" and "let" keywords?

Collapse
 
jamesthomson profile image
James Thomson

const variables does NOT define a constant value.

Unless the value is a primitive ;) You are correct if it's an Object (as stated in your example), just think that should be clarified.