4 ms·
Why not use let instead of var?
by jsprogrammer 12y ago
Why not use let instead of var?
- iamartnez 12y agoOnly habit. We're so used to var. But yea, need to transition to let for most things.
- yoshuaw 12y agoI think migrating to const makes more sense. In practice only a few things require to be mutated.
- jsprogrammer 12y agoDidn't realize const was in. Will definitely be using it.