Function js_sys::Reflect::delete_property

source ยท
pub fn delete_property(target: &Object, key: &JsValue) -> Result<bool, JsValue>
Expand description

The static Reflect.deleteProperty() method allows to delete properties. It is like the delete operator as a function.

MDN documentation