Re:Using const/let instead of var can make JavaScript code r...
by Dylan16807 on Wednesday October 21, 2020 @03:19AM
(#24845496)
Could you explain what you think an "actual need" for const looks like?
[ Parent
| on HN ]
Re:Using const/let instead of var can make JavaScript code r...
by russellbeattie on Thursday October 22, 2020 @03:14AM
(#24855602)
EXACTLY.
Re:Using const/let instead of var can make JavaScript code r...
by Dylan16807 on Thursday October 22, 2020 @09:02PM
(#24865072)
Well, the thing is, if your answer is "never" then I'm less inclined to agree with you. I think "don't use it ever" is a much weaker argument than "here's where you should and shouldn't use it".