What is Babel anyway?
Babel is a compiler: it takes code written in one standard, and it transpiles it to code written into another standard.
In short, it insures compatibility across browsers and JS versions.
What’s the recommended way to install Babel?
Locally, in a project directory. Using this command:
npm install –save-dev @babel/core @babel/cli
How would you make sure arrow functions are handled across major browsers and versions?
npm install –save-dev \ @babel/plugin-transform-arrow-functions
How can you run Bable on your script file to compile it?
npx babel script.js