// Create a SharedArrayBuffer with a size in bytes const buffer = new SharedArrayBuffer(8); console.log(buffer.byteLength); // Expected output: 8