DEV Community


Discussion on: Stop using var for declaring variables !!!

bryonmapes profile image
Bryon Mapes


"The const declaration creates a read-only reference to a value. It does not mean the value it holds is immutable—just that the variable identifier cannot be reassigned. For instance, in the case where the content is an object, this means the object's contents (e.g., its properties) can be altered."