mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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);
|
|
}
|