"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const callBound$1 = require("../call-bind/callBound.cjs");
const index = require("../is-array-buffer/index.cjs");
var callBound = callBound$1.callBound;
var $byteLength = callBound("ArrayBuffer.prototype.byteLength", true);
var isArrayBuffer = index.isArrayBuffer;
var arrayBufferByteLength = function byteLength(ab) {
  if (!isArrayBuffer(ab)) {
    return NaN;
  }
  return $byteLength ? $byteLength(ab) : ab.byteLength;
};
exports.arrayBufferByteLength = arrayBufferByteLength;
//# sourceMappingURL=index.cjs.map
