pub unsafe extern "C" fn NewSharedArrayBuffer(
cx: *mut JSContext,
nbytes: usize,
) -> *mut JSObject
Expand description
Create a new SharedArrayBuffer with the given byte length. This may only be called if JS::RealmCreationOptionsRef(cx).getSharedMemoryAndAtomicsEnabled() is true.