Property
noun
say it: “PROP-er-tee” /ˈprɒpərti/
One named value inside a JavaScript object, such as name: 'Mochi'. The name before the colon is the key, and what comes after is the value.
What is Property in JavaScript?
Property — A member that exposes a value through get and set accessors.
const order = { item: "tea" };
const item = order.item;
In a sentence
- “I added an adoptionFee property to the pet so the card could show the price.”
Level: Apprentice · More JavaScript terms at this level
Updated