packages/babel-plugin-proposal-async-generator-functions/test/fixtures/nested/async-in-params/output.js
raw| 1 | function g() { |
| 2 | return _g.apply(this, arguments); |
| 3 | } |
| 4 | function _g() { |
| 5 | _g = babelHelpers.wrapAsyncGenerator(function* (x = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () { |
| 6 | yield 1; |
| 7 | })) { |
| 8 | yield babelHelpers.awaitAsyncGenerator(2); |
| 9 | yield 3; |
| 10 | }); |
| 11 | return _g.apply(this, arguments); |
| 12 | } |