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

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