Merge pull request #121 from zhewang2/patch-1

obj.toString === obj.__proto__.toString
This commit is contained in:
Ilya Kantor 2017-08-05 00:12:18 +02:00 committed by GitHub
commit d649b46c8e

View file

@ -33,7 +33,7 @@ We can check it like this:
let obj = {};
alert(obj.__proto__ === Object.prototype); // true
// obj.toString === obj.__proto__toString == Object.prototype.toString
// obj.toString === obj.__proto__.toString == Object.prototype.toString
```
Please note that there is no additional `[[Prototype]]` in the chain above `Object.prototype`: