mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
Update class.md
This commit is contained in:
+1
-1
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user