mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
8 lines
148 B
Text
8 lines
148 B
Text
|
3
|
||
|
function add(a: number, b: number) {
|
||
|
return a + b;
|
||
|
}
|
||
|
|
||
|
console.log(add(1, 2));
|
||
|
console.log(Deno.readTextFileSync(import.meta.filename!).trim());
|