Hacker News new | ask | show | jobs
by yblu 4199 days ago
>> which is solved in ES6 by introducing lexical scoping I thought JS has always had lexical scoping. What's new in ES6 allowing variables to have block scope.