adventofcode/2024/01/main.ts

9 lines
226 B
TypeScript
Raw Permalink Normal View History

2024-12-04 20:46:05 +00:00
export function add(a: number, b: number): number {
return a + b;
}
// Learn more at https://docs.deno.com/runtime/manual/examples/module_metadata#concepts
if (import.meta.main) {
console.log("Add 2 + 3 =", add(2, 3));
}