A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
4 lines
62 B
JavaScript
4 lines
62 B
JavaScript
const bar = 123;
|
|
{ const bar = 456; }
|
|
assert.equal(bar, 123);
|