From f284fea36286afd48ad675e3527f3849fe07294b Mon Sep 17 00:00:00 2001 From: Aman Bangad Date: Mon, 5 Jun 2017 09:04:55 -0400 Subject: [PATCH] Update article.md output fixed --- 1-js/07-object-oriented-programming/13-mixins/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-oriented-programming/13-mixins/article.md b/1-js/07-object-oriented-programming/13-mixins/article.md index 624f4426..a0e14140 100644 --- a/1-js/07-object-oriented-programming/13-mixins/article.md +++ b/1-js/07-object-oriented-programming/13-mixins/article.md @@ -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.