Inherited Property
noun
say it: “in-HAIR-ih-tid PROP-er-tee” /ɪnˈhɛrɪtɪd ˈprɒpərti/
A property an object can use but doesn't hold itself; JavaScript finds it somewhere along the object's prototype chain.
What is Inherited Property in JavaScript?
Inherited Property — A property found through an object's prototype chain.
const animal = { eats: true };
const dog = Object.create(animal);
In a sentence
- “toString is an inherited property: the pet can call it, but it lives on Object's prototype.”
Level: Master · More JavaScript terms at this level
Updated