Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c8eb013

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /