News for hackers. Stuff that matters.
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".