ES6 `const` not immutable
There's a curious case in the ES6 specification of JavaScript where variables declared with const are mutable. If a variable is declared as a primitive like the following, const foo = 123, it is immutable but if a variable is declared as an object(const bar = {}) it is mutable. This happens… Read more »