Spaces:
Running
Running
Download 731ai/node_modules/core-js/internals/array-buffer-byte-length.js from u11310019/interactive-multi-web: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/node_modules/core-js/internals/array-buffer-byte-length.js
- Command line
-
hf download hf://spaces/u11310019/interactive-multi-web/731ai/node_modules/core-js/internals/array-buffer-byte-length.js
-
curl -L -o array-buffer-byte-length.js https://huggingface.co/spaces/u11310019/interactive-multi-web/resolve/main/731ai/node_modules/core-js/internals/array-buffer-byte-length.js
645 Bytes
| ; | |
| var globalThis = require('../internals/global-this'); | |
| var uncurryThisAccessor = require('../internals/function-uncurry-this-accessor'); | |
| var classof = require('../internals/classof-raw'); | |
| var ArrayBuffer = globalThis.ArrayBuffer; | |
| var TypeError = globalThis.TypeError; | |
| // Includes | |
| // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). | |
| // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. | |
| module.exports = ArrayBuffer && uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { | |
| if (classof(O) !== 'ArrayBuffer') throw new TypeError('ArrayBuffer expected'); | |
| return O.byteLength; | |
| }; | |