regenerator
regenerator copied to clipboard
Preserve arrow functions in async code
They currently always get transpiled due to the Babel plugin that's required to make them work.
c.f.: https://github.com/facebook/regenerator/issues/230#issuecomment-268355691
I think the same applies to ForOfStatement
, see https://github.com/babel/babel-preset-env/issues/103