diff --git a/src/_util/is.mjs b/src/_util/is.mjs index db6ff424..9699cff8 100644 --- a/src/_util/is.mjs +++ b/src/_util/is.mjs @@ -61,6 +61,10 @@ export function isNativeBigIntTypedArray(value) { */ function isArrayBuffer(value) { try { + // ArrayBuffers are never arrays + if (ArrayIsArray(value)) { + return false; + } ArrayBufferPrototypeGetByteLength(/** @type {any} */ (value)); return true; } catch (e) {