mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 11:27:57 -05:00
7 lines
146 B
TypeScript
7 lines
146 B
TypeScript
|
function add(a: number, b: number) {
|
||
|
return a + b;
|
||
|
}
|
||
|
|
||
|
console.log(add(1, 2));
|
||
|
console.log(Deno.readTextFileSync(import.meta.filename!).trim());
|