Iapetus / frontend /node_modules /core-js /internals /array-buffer-not-detached.js
EphAsad's picture
Upload 9972 files
01fdca8 verified
Raw
History Blame Contribute Delete
231 Bytes
'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;
};