Skip to content

Commit c8eb013

Browse files
authored
typo
1 parent 1536666 commit c8eb013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎1-js/09-classes/06-instanceof/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The algorithm of `obj instanceof Class` works roughly as follows:
6666
alert(obj instanceof Animal); // true: Animal[Symbol.hasInstance](obj) is called
6767
```
6868

69-
2. Most classes do not have `Symbol.hasInstance`. In that case, the standard logic is used: `obj instanceOf Classs` checks whether `Class.prototype` equals to one of prototypes in the `obj` prototype chain.
69+
2. Most classes do not have `Symbol.hasInstance`. In that case, the standard logic is used: `obj instanceOf Class` checks whether `Class.prototype` equals to one of prototypes in the `obj` prototype chain.
7070

7171
In other words, compare:
7272
```js

0 commit comments

Comments
 (0)