Function js_sys::Reflect::set[][src]

pub fn set(
    target: &JsValue,
    property_key: &JsValue,
    value: &JsValue
) -> Result<bool, JsValue>

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

MDN documentation