1 parent e0599d4 commit a0cf28bCopy full SHA for a0cf28b
1 file changed
1-js/07-object-oriented-programming/09-class/article.md
@@ -116,7 +116,7 @@ class User {
116
117
constructor(name) {
118
// invokes the setter
119
- this._name = name;
+ this.name = name;
120
}
121
122
*!*
0 commit comments