doum
2025-09-01 6cf1b974f995e37772517d13442a26e987bfc083
1
2
3
4
5
6
7
8
9
'use strict';
var isDetached = require('../internals/array-buffer-is-detached');
 
var $TypeError = TypeError;
 
module.exports = function (it) {
  if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached');
  return it;
};