This figure again shows that every object has a prototype. Constructor function Foo also has its own
__proto__
which is Function.prototype, a
A nice way to think of it is...
prototype
is used by constructor()
functions. It should've really been called something like, "prototypeToInstall"
, since that's what it is.
and __proto__
is that "installed prototype" on an object (that was created/installed upon the object from said constructor()
function)