So, it may be repeated. Pardon me for my ignorance. I just want to clarify things.
function Person(name) {
this.name = name;
}
Now you do,
var eve = new Person("Eve");
So,
eve.__proto__ == Person.prototype
Returns true
.
Makes sense.
eve.__proto__.__proto__ == Object.prototype
also makes sense true
.
Why Person.__proto__ == Object.prototype
returns false
?
Every object prototypically inherits from Object
right?
What am I missing?
Please clarify things with examples.
I am almost lost.