Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jsprogrammer
· 11y ago · 0 comments
Why not use let instead of var?
Comments
[–]
iamartnez
11y ago
Only habit. We're so used to var. But yea, need to transition to let for most things.
[–]
yoshuaw
11y ago
I think migrating to const makes more sense. In practice only a few things require to be mutated.
[–]
jsprogrammer
OP
11y ago
Didn't realize const was in. Will definitely be using it.