Closed
Description
Per http://babeljs.io/docs/usage/caveats/#polyfills, generators are not the only supported language feature that require a polyfill.
Array destructuring, for-of loops, and the array spread operator all require additional polyfills. As such, this project should also ship polyfills for Symbol
and Array.from
.
It would be possible to accomplish when needed this just by re-enabling transpiling the helpers for the Babel runtime transform, though because of https://phabricator.babeljs.io/T7519, a few of the helpers pull in the Symbol
polyfill unnecessarily.