Function js_sys::Atomics::load

source ·
pub fn load(typed_array: &JsValue, index: u32) -> Result<i32, JsValue>
Expand description

The static Atomics.load() method returns a value at a given position in the array.

You should use load_bigint to operate on a BigInt64Array or a BigUint64Array.

MDN documentation