Fix typo, so it actually does invoke the setter

This commit is contained in:
CrazyTim 2019-05-15 21:55:01 +10:00 committed by GitHub
parent 0d2fc22af8
commit c5fab43e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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