Update two article.md files

Recently you removed `e.g. Python` but forgot `like`.
Corrected `prototypally` to `prototypically`.
This commit is contained in:
Daria Pimenova 2019-09-25 17:02:55 +04:00 committed by GitHub
parent 87f86eaf6d
commit 347dc0610a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -201,7 +201,7 @@ And `eventMixin` mixin makes it easy to add such behavior to as many classes as
*Mixin* -- is a generic object-oriented programming term: a class that contains methods for other classes.
Some other languages like allow multiple inheritance. JavaScript does not support multiple inheritance, but mixins can be implemented by copying methods into prototype.
Some other languages allow multiple inheritance. JavaScript does not support multiple inheritance, but mixins can be implemented by copying methods into prototype.
We can use mixins as a way to augment a class by multiple behaviors, like event-handling as we have seen above.