Update two article.md files
Recently you removed `e.g. Python` but forgot `like`. Corrected `prototypally` to `prototypically`.
This commit is contained in:
parent
87f86eaf6d
commit
347dc0610a
2 changed files with 2 additions and 2 deletions
|
@ -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`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue