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

Function add

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

Source from the content-addressed store, hash-verified

25 函数返回值类型可以省略
26 ***/
27let add = (x: number, y: number) => x + y
28let computer:(x: number,y: number) => number
29computer = (a, b) => a + b;
30

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected