pub fn delete_property(target: &Object, key: &JsValue) -> Result<bool, JsValue>
The static Reflect.deleteProperty() method allows to delete properties. It is like the delete operator as a function.
Reflect.deleteProperty()
delete
MDN documentation