D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
ebrokers.online
/
node_modules
/
arraybuffer.prototype.slice
/
Filename :
shim.js
back
Copy
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimArrayBufferSlice() { if (typeof ArrayBuffer === 'function') { var polyfill = getPolyfill(); define( ArrayBuffer.prototype, { slice: polyfill }, { slice: function () { return ArrayBuffer.prototype.slice !== polyfill; } } ); } return polyfill; };