devela::_dep::web_sys::js_sys::Reflect

Function set

Source
pub fn set(
    target: &JsValue,
    property_key: &JsValue,
    value: &JsValue,
) -> Result<bool, JsValue> 
Available on crate feature dep_web_sys only.
Expand description

The static Reflect.set() method works like setting a property on an object.

MDN documentation