You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/09-classes/06-instanceof/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ The algorithm of `obj instanceof Class` works roughly as follows:
66
66
alert(obj instanceof Animal); // true: Animal[Symbol.hasInstance](obj) is called
67
67
```
68
68
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.
0 commit comments