mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
Update class.md
This commit is contained in:
parent
b7a766f54b
commit
2721216963
@ -599,7 +599,7 @@ obj.toString(); // MyObject: [object Object]
|
||||
var p1 = new Point(2, 3);
|
||||
var p2 = new ColorPoint(2, 3, 'red');
|
||||
|
||||
p2.__proto__ === p1.__proto // false
|
||||
p2.__proto__ === p1.__proto__ // false
|
||||
p2.__proto__.__proto__ === p1.__proto__ // true
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user