source: imaps-frontend/node_modules/core-js/modules/es.array-buffer.constructor.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 588 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var globalThis = require('../internals/global-this');
4var arrayBufferModule = require('../internals/array-buffer');
5var setSpecies = require('../internals/set-species');
6
7var ARRAY_BUFFER = 'ArrayBuffer';
8var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];
9var NativeArrayBuffer = globalThis[ARRAY_BUFFER];
10
11// `ArrayBuffer` constructor
12// https://tc39.es/ecma262/#sec-arraybuffer-constructor
13$({ global: true, constructor: true, forced: NativeArrayBuffer !== ArrayBuffer }, {
14 ArrayBuffer: ArrayBuffer
15});
16
17setSpecies(ARRAY_BUFFER);
Note: See TracBrowser for help on using the repository browser.