diff options
Diffstat (limited to 'testdata/012_async.ts')
-rw-r--r-- | testdata/012_async.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/testdata/012_async.ts b/testdata/012_async.ts deleted file mode 100644 index 57ae355c2..000000000 --- a/testdata/012_async.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Check that we can use the async keyword. -async function main() { - await new Promise((resolve, reject) => { - console.log("2"); - setTimeout(resolve, 100); - }); - console.log("3"); -} - -console.log("1"); -main(); |