HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jsprogrammer | Hacker News Reader
Parent
Full thread
jsprogrammer
·
Why not use let instead of var?
View on HN
iamartnez
·
Only habit. We're so used to var. But yea, need to transition to let for most things.
yoshuaw
·
I think migrating to const makes more sense. In practice only a few things require to be mutated.
jsprogrammer
·
Didn't realize const was in. Will definitely be using it.
Reply on news.ycombinator.com