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