12 lines
411 B
JavaScript
12 lines
411 B
JavaScript
|
'use strict';
|
||
|
var $ = require('../internals/export');
|
||
|
var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
|
||
|
|
||
|
var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
|
||
|
|
||
|
// `ArrayBuffer.isView` method
|
||
|
// https://tc39.es/ecma262/#sec-arraybuffer.isview
|
||
|
$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
|
||
|
isView: ArrayBufferViewCore.isView
|
||
|
});
|