Re:Modern Javascript: Everything you missed over the last 10...
by z3t4 on Sunday May 16, 2021 @05:21AM
(#27172400)
Because people coming from other languages find this confusing the let (and const) keyword was specified (ES6/2015) for block/angel-bracket lexical scope. Whereas var is function scoped.
[ Parent
| on HN ]
There are no comments on this comment yet.