Update article.md

output fixed
This commit is contained in:
Aman Bangad 2017-06-05 09:04:55 -04:00 committed by GitHub
parent 168b273caa
commit f284fea362

View file

@ -83,7 +83,7 @@ class User {
Object.assign(User.prototype, sayHiMixin);
// now User can say hi
new User("Dude").sayHi(); // Hi Dude!
new User("Dude").sayHi(); // Hello Dude!
```
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.