UNPKG

array.prototype.tospliced

Version:

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

8 lines (5 loc) 164 B
'use strict'; var implementation = require('./implementation'); module.exports = function getPolyfill() { return Array.prototype.toSpliced || implementation; };