Bug with let/var and for loop when transpile to ES2015 code #696
Labels
bug
Confirmed bug
duplicate
with es2015
The bug is caused when used with es2015-block-scoping plugin
Input Code
Actual Output
Expected Output
Details
When I declare a let/var or even const variable before a for loop, It disappeared and make this variable undefined. You can test it with Babel Repl
The text was updated successfully, but these errors were encountered: