News for hackers. Stuff that matters.
Re:A long list of (advanced) JavaScript questions, and their... by tstrimple on Thursday May 16, 2024 @08:57PM (#40385225)
Which in this case most folks have moved on to let and const. But tons of code in the wild is still sprinkled with var. If you’re mostly working greenfield JavaScript, you can ignore a lot of the warts and have a pretty good experience. If you’re working on a lot of legacy stuff you’ll see mixed use of var and let and it’s quite helpful to understand the differences more fully.

There are no comments on this comment yet.