Function js_sys::Atomics::store[][src]

pub fn store(
    typed_array: &JsValue,
    index: u32,
    value: i32
) -> Result<i32, JsValue>

The static Atomics.store() method stores a given value at the given position in the array and returns that value.

MDN documentation