regenerator icon indicating copy to clipboard operation
regenerator copied to clipboard

Preserve arrow functions in async code

Open kangax opened this issue 7 years ago • 1 comments

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

kangax avatar Dec 20 '16 20:12 kangax

I think the same applies to ForOfStatement, see https://github.com/babel/babel-preset-env/issues/103

wmertens avatar Dec 21 '16 15:12 wmertens