debian-mirror-gitlab/core-js/modules/es.data-view.js

10 lines
355 B
JavaScript
Raw Normal View History

2019-09-25 13:30:05 +05:30
var $ = require('../internals/export');
var ArrayBufferModule = require('../internals/array-buffer');
2020-01-12 00:16:45 +05:30
var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');
2019-09-25 13:30:05 +05:30
// `DataView` constructor
// https://tc39.github.io/ecma262/#sec-dataview-constructor
$({ global: true, forced: !NATIVE_ARRAY_BUFFER }, {
DataView: ArrayBufferModule.DataView
});