Object Descriptors & Property Flags
What value will be output when attempting to modify a non-writable property?
const obj = {};
Object.defineProperty(obj, 'id', {
value: 42,
writable: false,
enumerable: true,
configurable: true
});
obj.id = 100;
console.log(obj.id);