Skip to content

Commit 0860d99

Browse files
authored
Resolve conflict.
1 parent 8869056 commit 0860d99

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,11 @@ The algorithm of `obj instanceof Class` works roughly as follows:
8686
*!*
8787
alert(rabbit instanceof Animal); // true
8888
*/!*
89-
<<<<<<< HEAD
90-
// rabbit.__proto__ === Rabbit.prototype
91-
=======
9289
93-
// rabbit.__proto__ === Animal.prototype (no match)
90+
// rabbit.__proto__ === Rabbit.prototype
9491
*!*
95-
>>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
9692
// rabbit.__proto__.__proto__ === Animal.prototype (match!)
93+
*/!*
9794
```
9895

9996
Here's the illustration of what `rabbit instanceof Animal` compares with `Animal.prototype`:

0 commit comments

Comments
 (0)