value
The value property holds the actual value of the property.
const obj = {};Object.defineProperty(obj, "x", { value: 42 });console.log(obj.x); // 42The value property holds the actual value of the property.
const obj = {};Object.defineProperty(obj, "x", { value: 42 });console.log(obj.x); // 42