Re:JavaScript variables: var and let and const
by eyelidlessness on Friday March 06, 2020 @02:52PM
(#22506678)
Generally speaking most languages treat `let` as constant/immutable, and the real shame is that JS did not. It's understandable why (they needed a block-scoped `var`), but unfortunate nonetheless.
[ Parent
| on HN ]
There are no comments on this comment yet.