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