We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 168b273 + f284fea commit 448c461Copy full SHA for 448c461
1-js/07-object-oriented-programming/13-mixins/article.md
@@ -83,7 +83,7 @@ class User {
83
Object.assign(User.prototype, sayHiMixin);
84
85
// now User can say hi
86
-new User("Dude").sayHi(); // Hi Dude!
+new User("Dude").sayHi(); // Hello Dude!
87
```
88
89
Please note that the call to the parent method `super.say()` from `sayHiMixin` looks for the method in the prototype of that mixin, not the class.
0 commit comments