diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-09-24 18:37:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 18:37:04 -0400 |
commit | a497f87b59a5271d89cf50063154c46c4e52c523 (patch) | |
tree | 589f025bfca66cb96b8ea6ca51440340f4909f53 /cli/tests/top_level_await.js | |
parent | 726f08694b4d27a06dee7fbbef3a574a7c2c0053 (diff) |
Upgrade V8 for top-level-await (#3015)
Diffstat (limited to 'cli/tests/top_level_await.js')
-rw-r--r-- | cli/tests/top_level_await.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/top_level_await.js b/cli/tests/top_level_await.js new file mode 100644 index 000000000..af6fbd662 --- /dev/null +++ b/cli/tests/top_level_await.js @@ -0,0 +1,3 @@ +const buf = await Deno.readFile("hello.txt"); +const n = await Deno.stdout.write(buf); +console.log(`\n\nwrite ${n}`); |