mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -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());
|