There was an error while loading. Please reload this page.
2 parents ec5e557 + 04ba7ca commit 0121d62Copy full SHA for 0121d62
1 file changed
1-js/07-object-oriented-programming/09-class/article.md
@@ -114,7 +114,7 @@ class User {
114
115
constructor(name) {
116
// invokes the setter
117
- this.name = name;
+ this._name = name;
118
}
119
120
*!*
0 commit comments