The Atomics.isLockFree()
static method is used to determine whether the Atomics
methods use locks or atomic hardware operations when applied to typed arrays with the given element byte size. It returns false
if the given size is not one of the BYTES_PER_ELEMENT property of integer TypedArray types.