packages/babel-plugin-proposal-async-generator-functions/test/fixtures/nested/generator-in-async/output.js
raw| 1 | function f() { |
| 2 | return _f.apply(this, arguments); |
| 3 | } |
| 4 | function _f() { |
| 5 | _f = babelHelpers.asyncToGenerator(function* () { |
| 6 | yield 1; |
| 7 | function g() { |
| 8 | return _g.apply(this, arguments); |
| 9 | } |
| 10 | function _g() { |
| 11 | _g = babelHelpers.wrapAsyncGenerator(function* () { |
| 12 | yield babelHelpers.awaitAsyncGenerator(2); |
| 13 | yield 3; |
| 14 | }); |
| 15 | return _g.apply(this, arguments); |
| 16 | } |
| 17 | }); |
| 18 | return _f.apply(this, arguments); |
| 19 | } |