mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -05:00
15fce5b290
Part of #25162 Closes #11826
5 lines
97 B
TypeScript
5 lines
97 B
TypeScript
try {
|
|
Deno.readTextFileSync("a.txt");
|
|
} catch (err) {
|
|
console.log((err as Error).message);
|
|
}
|