A property's configurable attribute determines whether its definition can be changed or deleted. It defaults to false; setting it to true allows the property to be overwritten or deleted. section 9.1.2
const obj = {};
Object.defineProperty(obj, "claim", {
configurable: true,
get() {
return "This object belongs to the Uchiha Clan!";
},
});
delete obj.claim;
obj.claim = "This object belongs to the Hyuga Clan now!";
This example defines a configurable getter, deletes it, then assigns a new value to the property. section 9.1.2
