4 ms·
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.
by jazzyjackson 8y ago
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.