import { c as callBound$1 } from "../call-bind/callBound.js";
import { i as isArrayBuffer$1 } from "../is-array-buffer/index.js";
var callBound = callBound$1;
var $byteLength = callBound("ArrayBuffer.prototype.byteLength", true);
var isArrayBuffer = isArrayBuffer$1;
var arrayBufferByteLength = function byteLength(ab) {
  if (!isArrayBuffer(ab)) {
    return NaN;
  }
  return $byteLength ? $byteLength(ab) : ab.byteLength;
};
export {
  arrayBufferByteLength as a
};
//# sourceMappingURL=index.js.map
