Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/Sigma-Web-Dev-Course
/ constructor
Method
constructor
Video 80/gs.js:3–6 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
1
class
User {
2
3
constructor(name) {
4
// invokes the setter
5
this.name = name;
6
}
7
8
get name() {
9
return
this._name;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected