deleteProperty
Removes a property from an object, equivalent to delete target[propertyKey]
, except it won't throw if target[propertyKey]
is non-configurable.
Parameters
target
Object from which to remove the own property.
propertyKey
The property name.