Know Your Babel Plugins: Transform Block Scoping
Learn how the Transform Block Scoping plugin lets Babel take advantage of the ES6's let and const keywords. #babeljs #knowyourbabelplugins #javascript
In this series, I’ll be going over the ins-and-outs of the various plugins for Babel, the popular JavaScript transpiler. I’m going to assume you know a thing or two about Babel, NPM, and JavaScript.
The Transform Block Scoping plugin allows you to use the let and constkeywords to initialize variables that are only accessible from within the blocks they are created. To use these keywords with…
View On WordPress







