Skip to content

Commit f284fea

Browse files
authored
Update article.md
output fixed
1 parent 168b273 commit f284fea

File tree

1 file changed

+1
-1
lines changed
  • 1-js/07-object-oriented-programming/13-mixins

1 file changed

+1
-1
lines changed

1-js/07-object-oriented-programming/13-mixins/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class User {
8383
Object.assign(User.prototype, sayHiMixin);
8484

8585
// now User can say hi
86-
new User("Dude").sayHi(); // Hi Dude!
86+
new User("Dude").sayHi(); // Hello Dude!
8787
```
8888

8989
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

Comments
 (0)