Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/ constructor
Method
constructor
TypeScript/StudyTypeScript/src/class_01.ts:37–39 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
35
// public
36
class
Dog2 {
37
constructor(name: string) {
38
this.name = name
39
}
40
public name: string
41
run() {}
42
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected