// Create an ArrayBuffer with a size in bytes const buffer = new ArrayBuffer(8); // Use byteLength to check the size const bytes = buffer.byteLength; console.log(bytes); // Expected output: 8