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