make scope tracker more reliable to handle all edgecases
This commit is contained in:
5
test/fixtures/transformation/let-scoping/duplicate-in-upper-scope/exec.js
vendored
Normal file
5
test/fixtures/transformation/let-scoping/duplicate-in-upper-scope/exec.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
let x = [0];
|
||||
for (let x of x) {
|
||||
assert.equal(x, 0);
|
||||
}
|
||||
assert.deepEqual(x, [0]);
|
||||
Reference in New Issue
Block a user