es.data-view.constructor.js 390 B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var ArrayBufferModule = require('../internals/array-buffer');
  4. var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-basic-detection');
  5. // `DataView` constructor
  6. // https://tc39.es/ecma262/#sec-dataview-constructor
  7. $({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, {
  8. DataView: ArrayBufferModule.DataView
  9. });