We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d5a02 commit 25fddb8Copy full SHA for 25fddb8
1-js/09-classes/06-instanceof/article.md
@@ -93,19 +93,11 @@ let rabbit = new Rabbit();
93
alert(rabbit instanceof Animal); // true
94
*/!*
95
96
-<<<<<<< HEAD
97
-// rabbit.__proto__ === Rabbit.prototype
+// rabbit.__proto__ === Animal.prototype (no match)
98
*!*
99
// rabbit.__proto__.__proto__ === Animal.prototype (match!)
100
101
```
102
-=======
103
- // rabbit.__proto__ === Animal.prototype (no match)
104
- *!*
105
- // rabbit.__proto__.__proto__ === Animal.prototype (match!)
106
- */!*
107
- ```
108
->>>>>>> 4541b7af7584014a676da731f6e8774da5e059f6
109
110
Voici l'illustration de ce que `rabbit instanceof Animal` compare avec `Animal.prototype`:
111
0 commit comments