Skip to content

Commit f642b65

Browse files
authored
Merge pull request #1433 from paroche/patch-57
Update article.md
2 parents 9e00b2a + cd1a23b commit f642b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/09-classes/07-mixins/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,6 @@ And `eventMixin` mixin makes it easy to add such behavior to as many classes as
203203

204204
Some other languages allow multiple inheritance. JavaScript does not support multiple inheritance, but mixins can be implemented by copying methods into prototype.
205205

206-
We can use mixins as a way to augment a class by multiple behaviors, like event-handling as we have seen above.
206+
We can use mixins as a way to augment a class by adding multiple behaviors, like event-handling as we have seen above.
207207

208-
Mixins may become a point of conflict if they accidentally overwrite existing class methods. So generally one should think well about the naming methods of a mixin, to minimize the probability of that.
208+
Mixins may become a point of conflict if they accidentally overwrite existing class methods. So generally one should think well about the naming methods of a mixin, to minimize the probability of that happening.

0 commit comments

Comments
 (0)