1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 19:22:21 +00:00

Merge pull request #104 from markx/gh-pages

Update class.md: fix typo
This commit is contained in:
Ruan YiFeng 2015-12-17 14:14:20 +08:00
commit 2d4b16d4ca

View File

@ -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
```