News for hackers. Stuff that matters.
Re:JS Visualizer – Visualize Context, Hoisting, Closures, an... by jazzyjackson on Tuesday October 09, 2018 @10:07PM (#18181453)
This is not a bug, this is spec.

variables in javascript are not block scoped, but functionally scoped.

the let keyword introduces block scope to javascript.

There are no comments on this comment yet.