Byron Luk 0d9e77f559 rename colliding let bindings with for loop init (#8937)
* rename colliding let bindings with for loop init

* added complex test case to check if loop init collisions were handled correctly

* updated test files
2018-10-31 20:28:36 +01:00

9 lines
107 B
JavaScript

for (let i = 0; i < 3; i++) {
let i = 'abc';
console.log(i);
{
let i = "hello";
}
}