Own Property

noun

say it: “OHN PROP-er-tee” /oʊn ˈprɒpərti/

A property stored directly on an object itself, not borrowed from its prototype.

What is Own Property in JavaScript?

Own Property — A property defined directly on an object rather than inherited.

const order = { item: "tea" };
const ownsItem = Object.hasOwn(order, "item");

In a sentence

  • “name is an own property of each pet, while describe comes from the prototype.”

Level: Master · More JavaScript terms at this level

Updated