* Extract for-of iterator handling to a helper Dis greatly recudes the code size when for-of is used multiple times across the codebase. Also, makes it easier to read what's happening in a compiled loop. * Unify spec and loose code * Legacy implementation fallback * Update tmp var name * Updates from review and after rebase
@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