Consider the following:
var o = {foo: 'bar'};
var p = Object.create(o);
If o
is the prototype of p
, then what is p
with regard to o
?
noun. ( ˈproʊtoʊˌtaɪp) A standard or typical example. Antonyms. follower unworthy expand increase decentralize decentralise deconcentrate. model example paradigm image epitome.
The prefix prot-, or proto-, comes from Greek and has the basic meaning "first in time" or "first formed." A prototype is someone or something that serves as a model or inspiration for those that come later.
I'm not aware that there is any widespread consensus on a formal term for the object whose prototype is another object, but IMHO the term derived object is acceptable.
The point of prototypal inheritance is that one object inherits from another, or is derived from another. In some classical OO languages, such as C++, you will hear the term derived class, because classes inherit from other classes. Because inheritance is between objects in prototypal languages, I would say that "derived object" makes sense.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With