source:
frontend/node_modules/core-js/internals/array-buffer-not-detached.js
| Last change on this file was 9af201e, checked in by , 12 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.
