Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/
Class
TypeScript/StudyTypeScript/src/class_01.ts:44–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
}
43
// private 只能类本身调用,不能被类的实例调用,也不能被类的子类调用
44
class
Dog3 {
45
constructor(name: string) {
46
this.name = name
47
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected