source:
imaps-frontend/node_modules/core-js/internals/array-buffer-not-detached.js
Last change on this file was 79a0317, checked in by , 4 days ago | |
---|---|
|
|
File size: 231 bytes |
Rev | Line | |
---|---|---|
[79a0317] | 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.