Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/azat-co/practicalnode
/ getName
Method
getName
code/ch1/class.js:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
this.options = options
7
}
8
getName() {
// class method
9
console.log(`Class name: ${this.name}`)
10
}
11
}
12
class
AccountModel extends baseModel {
13
constructor(options, data) {
Callers
1
class.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected