js_sys::Atomics

Function store_bigint

source
pub fn store_bigint(
    typed_array: &JsValue,
    index: u32,
    value: i64,
) -> Result<i64, JsValue>
Expand description

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

This method is used to operate on a BigInt64Array or a BigUint64Array.

MDN documentation