I'm confused with javascript's Object.prototype and Anything.prototype.
In chrome console, i have code below:
My questions:
- The default prototype for any function is an instance of Object. Is it right?
- If 1 is true. So, both Anything.prototype and Object.prototype are an instance of Object. Object.prototype is an instance with its
__proto__
=== null. Therefore, Object.prototype is a special instance at the top of prototype chain. Can i understand like this?