es.array-buffer.is-view.js 397 B

12345678910
  1. var $ = require('../internals/export');
  2. var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
  3. var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
  4. // `ArrayBuffer.isView` method
  5. // https://tc39.es/ecma262/#sec-arraybuffer.isview
  6. $({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
  7. isView: ArrayBufferViewCore.isView
  8. });