Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
556 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var $ = require('../internals/export');
|
---|
3 | var global = require('../internals/global');
|
---|
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 = global[ARRAY_BUFFER];
|
---|
10 |
|
---|
11 | // `ArrayBuffer` constructor
|
---|
12 | // https://tc39.es/ecma262/#sec-arraybuffer-constructor
|
---|
13 | $({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {
|
---|
14 | ArrayBuffer: ArrayBuffer
|
---|
15 | });
|
---|
16 |
|
---|
17 | setSpecies(ARRAY_BUFFER);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.