No TL;DR Required :)
So the next easy introduction to some ES6 properties are const
declarations are equivalent to var DONTCHANGEME = "foo"
in ES5. When I say equivalent I mean in idea not behavior.
syntax and variables created with var
can be assigned and re-assigned at any time. In ES6 the "read-only" nature of const
declarations is respected and enforced