source:
imaps-frontend/node_modules/core-js/internals/array-buffer-not-detached.js@
79a0317
Last change on this file since 79a0317 was 79a0317, checked in by , 3 days ago | |
---|---|
|
|
File size: 231 bytes |
Line | |
---|---|
1 | 'use strict'; |
2 | var isDetached = require('../internals/array-buffer-is-detached'); |
3 | |
4 | var $TypeError = TypeError; |
5 | |
6 | module.exports = function (it) { |
7 | if (isDetached(it)) throw new $TypeError('ArrayBuffer is detached'); |
8 | return it; |
9 | }; |
Note:
See TracBrowser
for help on using the repository browser.