MCPcopy Create free account
hub / github.com/Hexlet/patterns / constructor

Method constructor

content/facade/javascript/module/entities/User.js:2–4  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1export default class User {
2 constructor(name) {
3 this.name = name;
4 }
5
6 // ...
7}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected