Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
***/
27
let
add = (x: number, y: number) => x + y
28
let
computer:(x: number,y: number) => number
29
computer = (a, b) => a + b;
30
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected