We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8869056 commit 0860d99Copy full SHA for 0860d99
1-js/09-classes/06-instanceof/article.md
@@ -86,14 +86,11 @@ The algorithm of `obj instanceof Class` works roughly as follows:
86
*!*
87
alert(rabbit instanceof Animal); // true
88
*/!*
89
-<<<<<<< HEAD
90
- // rabbit.__proto__ === Rabbit.prototype
91
-=======
92
93
- // rabbit.__proto__ === Animal.prototype (no match)
+ // rabbit.__proto__ === Rabbit.prototype
94
95
->>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
96
// rabbit.__proto__.__proto__ === Animal.prototype (match!)
+ */!*
97
```
98
99
Here's the illustration of what `rabbit instanceof Animal` compares with `Animal.prototype`:
0 commit comments