3 ms·
It would have been nice to have `let` work like `const` does, and something else for what is currently `let` (`mut`?). The TC39 was constrained by the list of
by pygy_ 8y ago
It would have been nice to have `let` work like `const` does, and something else for what is currently `let` (`mut`?).
The TC39 was constrained by the list of reserved words though. `let` and `const` were reserved in ES5, and there was nothing that could have conveyed `mut`.
https://mathiasbynens.be/notes/reserved-keywords#ecmascript-5 https://mathiasbynens.be/notes/reserved-keywords#ecmascript-...