mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 02:59:11 -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());
|