Merge pull request #36 from nathanallen/patch-1

typo: missing underscore prefix for _name
This commit is contained in:
Ilya Kantor 2017-06-13 23:20:07 +03:00 committed by GitHub
commit 0121d62d4a

View file

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