const Declarations – Undertstanding ES6

No TL;DR Required 🙂 const Declarations So the next easy introduction to some ES6 properties are const declarations. const declarations are equivalent to var DONTCHANGEME = “foo” in ES5. When I say equivalent I mean in idea not behavior. The var syntax and variables created with var can be assigned and re-assigned at any time. […]