![]() "// obj.toString === obj.__proto__.toString == Object.prototype.toString" It is look like JS code but it gives different result from what we want to get. There is different kind of equality operator ant these give more confusing what is the purpose of these? It can be better to separate this line into 2 line of code to make it sensible and readable. Subject and code is already hard but there is no need to make readers ask unnecessary questions. |
||
---|---|---|
.. | ||
1-defer-to-prototype | ||
2-defer-to-prototype-extended | ||
article.md | ||
console_dir_array.png | ||
function-prototype-constructor.svg | ||
native-prototypes-array-tostring.svg | ||
native-prototypes-classes.svg | ||
object-prototype-1.svg | ||
object-prototype-null.svg | ||
object-prototype.svg | ||
proto-constructor-animal-rabbit.svg | ||
rabbit-prototype-constructor.svg |