* Migrate try-catch duplicate error * Remove exception for functions and let in the same scope * Migrate duplicate bindings tests to traverse * Add test for subscope and let/const * Add more test cases
@babel/plugin-transform-block-scoping
Compile ES2015 block scoping (const and let) to ES5
See our website @babel/plugin-transform-block-scoping for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-block-scoping
or using yarn:
yarn add @babel/plugin-transform-block-scoping --dev