js_sys::Reflect

Function set_u32

Source
pub fn set_u32(
    target: &JsValue,
    property_key: u32,
    value: &JsValue,
) -> Result<bool, JsValue>
Expand description

The same as set except the key is a u32, which is slightly faster.