Skip to content

Commit a0cf28b

Browse files
committed
closes #128
1 parent e0599d4 commit a0cf28b

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/09-class

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/09-class/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class User {
116116

117117
constructor(name) {
118118
// invokes the setter
119-
this._name = name;
119+
this.name = name;
120120
}
121121

122122
*!*

0 commit comments

Comments
 (0)