MCPcopy Create free account
hub / github.com/SincereCSL/Playgrounds / add1

Function add1

TypeScript/StudyTypeScript/src/function.ts:2–4  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

1/// 函数定义
2function add1(x: number, y: number){
3 return x + y;
4}
5
6// 变量定义函数
7let add2: (x: number, y: number) => number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected