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

Method sleep

TypeScript/StudyTypeScript/src/class_02.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28class Monkey extends Animal {
29 sleep() {
30 console.log('Monkey sleep')
31 }
32}
33let monkey = new Monkey()
34let animals: Animal[] = [cat,monkey]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected