What is babel

Posted by Jessica Taylor | Updated on

Babel is a JavaScript transpiler to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers or environments. Some of the main features are listed below,

  1. Transform syntax
  2. Polyfill features that are missing in your target environment (using @babel/polyfill)
  3. Source code transformations (or codemods)

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers