Debian Codegraph @

packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/T7108/input.js

raw
1 class Test{
2 static async method1() {
3 console.log(this);
4
5 setTimeout(async () => {
6 console.log(this);
7 });
8 }
9
10 static async method2() {
11 console.log(this);
12
13 setTimeout(async (arg) => {
14 console.log(this);
15 });
16 }
17
18 async method1() {
19 console.log(this);
20
21 setTimeout(async () => {
22 console.log(this);
23 });
24 }
25
26 async method2() {
27 console.log(this);
28
29 setTimeout(async (arg) => {
30 console.log(this);
31 });
32 }
33 }