block scope constants
This commit is contained in:
3
test/fixtures/transformation/es6-constants/block-scoped/exec.js
vendored
Normal file
3
test/fixtures/transformation/es6-constants/block-scoped/exec.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
const bar = 123;
|
||||
{ const bar = 456; }
|
||||
assert.equal(bar, 123);
|
||||
Reference in New Issue
Block a user