Merge pull request #1253 from paroche/patch-2

Change "occasionally" to "accidentally"
This commit is contained in:
Ilya Kantor 2019-08-21 10:10:52 +03:00 committed by GitHub
commit 286eef775b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,4 +205,4 @@ Some other languages like allow multiple inheritance. JavaScript does not suppor
We can use mixins as a way to augment a class by multiple behaviors, like event-handling as we have seen above.
Mixins may become a point of conflict if they occasionally overwrite existing class methods. So generally one should think well about the naming methods of a mixin, to minimize the probability of that.
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.