es.data-view.constructor.js 376 B

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