mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
7 lines
152 B
TypeScript
7 lines
152 B
TypeScript
async function main(): Promise<void> {
|
|
const file = await Deno.open("044_bad_resource.ts", "r");
|
|
file.close();
|
|
await file.seek(10, 0);
|
|
}
|
|
|
|
main();
|