mirror of
https://github.com/Dokploy/examples
synced 2025-06-26 18:15:52 +00:00
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
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));
|
|
}
|
|
|
|
Deno.serve(() => new Response("Hello, world!"));
|