typo: missing underscore prefix for _name

This commit is contained in:
Nathan Allen 2017-06-12 11:35:08 -07:00 committed by GitHub
parent ec5e557052
commit 04ba7ca07d

View file

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