[][src]Function js_sys::Atomics::and

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

The static Atomics.and() method computes a bitwise AND with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.

MDN documentation