Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardNodeJSSharedArrayBuffer and AtomicsSingle-choice MCQ

`Atomics.isLockFree(n)` is used to decide whether atomic operations of width `n` bytes compile to true lock-free CPU instructions versus a runtime-emulated lock. On a typical 64-bit V8 build, what is the most accurate statement about its result for common widths?

Atomics.isLockFree(1); Atomics.isLockFree(2); Atomics.isLockFree(4); Atomics.isLockFree(8);