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

@ -44,7 +44,7 @@ alert( arr instanceof Array ); // true
alert( arr instanceof Object ); // true
```
Please note that `arr` also belongs to the `Object` class. That's because `Array` prototypally inherits from `Object`.
Please note that `arr` also belongs to the `Object` class. That's because `Array` prototypically inherits from `Object`.
Normally, `instanceof` operator examines the prototype chain for the check. We can also set a custom logic in the static method `Symbol.hasInstance`.