Re:Modern Javascript: Everything you missed over the last 10...
by hwillis on Saturday May 15, 2021 @01:54PM
(#27167365)
var is a terrible example of that. Just don't use it.
A good example would be the scoping in for loops and maybe arrow functions. For loops are goofy but virtually never an issue, and arrow functions are awesome.
A good example would be the scoping in for loops and maybe arrow functions. For loops are goofy but virtually never an issue, and arrow functions are awesome.