Merge pull request #894 from amolpatravali97/patch-1
Mistake in naming the property name.
This commit is contained in:
commit
1349e70f88
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class User {
|
||||||
|
|
||||||
constructor(name) {
|
constructor(name) {
|
||||||
// invokes the setter
|
// invokes the setter
|
||||||
this.name = name;
|
this._name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
*!*
|
*!*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue