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';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var globalThis = require('../internals/global-this');
|
---|
4 | var arrayBufferModule = require('../internals/array-buffer');
|
---|
5 | var setSpecies = require('../internals/set-species');
|
---|
6 |
|
---|
7 | var ARRAY_BUFFER = 'ArrayBuffer';
|
---|
8 | var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];
|
---|
9 | var 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 |
|
---|
17 | setSpecies(ARRAY_BUFFER);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.