Skip to content

Commit

Permalink
Hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
jefgodesky committed Nov 23, 2024
1 parent 52ef8d2 commit b2c9c45
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
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((req) => new Response('Hello world'))

0 comments on commit b2c9c45

Please sign in to comment.