News for hackers. Stuff that matters.
Re:What’s New in ES2019 by z3t4 on Wednesday July 31, 2019 @07:23AM (#20573397)
let also does some magic in for-loops, creating a new variable for each iteration, basically creating a closure.

It also throws and error if it's used before it's declared.

Let basically fix some minor issues that hard-bitten JavaScript developers have learned to avoid.

There are no comments on this comment yet.