UNPKG

array.prototype.tospliced

Version:

An ESnext spec-compliant `Array.prototype.toSpliced` shim/polyfill/replacement that works as far down as ES3.

20 lines (14 loc) 398 B
'use strict'; var define = require('define-properties'); var callBind = require('call-bind'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var polyfill = getPolyfill(); var shim = require('./shim'); var bound = callBind(polyfill); define(bound, { getPolyfill: getPolyfill, implementation: implementation, shim: shim }); module.exports = bound;