Merge pull request #894 from amolpatravali97/patch-1

Mistake in naming the property name.
This commit is contained in:
Ilya Kantor 2019-04-09 23:38:06 +03:00 committed by GitHub
commit 1349e70f88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ class User {
constructor(name) {
// invokes the setter
this.name = name;
this._name = name;
}
*!*