1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 02:52:54 -05:00
denoland-deno/tests/specs/compile/include/self/main.ts
2024-11-28 15:47:23 +01:00

6 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());