News for hackers. Stuff that matters.
Re:Using const/let instead of var can make JavaScript code r... by wiredearp on Wednesday October 21, 2020 @01:30AM (#24845007)
The keyword instructs the human to immediately unassign any mental overhead reserved for tracking changes to the value while `let` or `var` indicates that further digestion is required to determine potential. I see some value in that. Stop using `const` for declaring named functions, though.

There are no comments on this comment yet.