Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/ sleep
Method
sleep
TypeScript/StudyTypeScript/src/class_02.ts:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
name: string
17
run() {}
18
sleep() {
19
console.log(
'cat sleep'
)
20
}
21
}
22
let
cat =
new
Cat(
'喵喵'
)
23
cat.eat()
Callers
1
class_02.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected