1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
denoland-deno/tests/specs/run/top_level_await/top_level_await.js
Leo Kettmeir 42b71d82db
chore(lint): add .out file reference checker (#27078)
Co-authored-by: David Sherret <dsherret@gmail.com>
2024-11-26 20:53:20 -08:00

3 lines
119 B
JavaScript

const buf = await Deno.readFile("./hello.txt");
const n = await Deno.stdout.write(buf);
console.log(`\n\nwrite ${n}`);