What else does Babel let us do?


In the context of this exercise, what else does Babel let us do?


Babel also provides babel-polyfill, which emulates a full ES6 environment, allowing you to use new built-ins including Promise or WeakMap or static methods like Array.form, instance methods such as Array.prototype.includes, and generator functions.

Babel also lets us convert JSX syntax to JavaScript, which is used frequently with React applications.

One other useful feature of Babel is that it can be used for debugging compiled code easily.