main.ts

Fri, 19 Sep 2025 11:49:40 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Fri, 19 Sep 2025 11:49:40 +0800
changeset 0
a3bb50016d6f
permissions
-rw-r--r--

Initial Commit

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));
}

mercurial