Function js_sys::Reflect::set_f64

source ·
pub fn set_f64(
    target: &JsValue,
    property_key: f64,
    value: &JsValue
) -> Result<bool, JsValue>
Expand description

The same as set except the key is an f64, which is slightly faster.