commit
07cb1af37f
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class Rabbit extends Animal {}
|
||||||
alert(Rabbit.__proto__ === Animal); // true
|
alert(Rabbit.__proto__ === Animal); // true
|
||||||
|
|
||||||
// for regular methods
|
// for regular methods
|
||||||
alert(Rabbit.prototype.__proto__ === Animal.prototype);
|
alert(Rabbit.prototype.__proto__ === Animal.prototype); // true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue