packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/deeply-nested-asyncs/input.js
raw| 1 | async function s(x, ...args) { |
| 2 | let t = async (y, a) => { |
| 3 | let r = async (z, b, ...innerArgs) => { |
| 4 | await z; |
| 5 | console.log(this, innerArgs, arguments); |
| 6 | return this.x; |
| 7 | } |
| 8 | await r(); |
| 9 | |
| 10 | console.log(this, args, arguments); |
| 11 | return this.g(r); |
| 12 | } |
| 13 | |
| 14 | await t(); |
| 15 | return this.h(t); |
| 16 | } |