![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/node_modules/core-js/modules/ |
'use strict'; var $ = require('../internals/export'); var global = require('../internals/global'); var toIndexedObject = require('../internals/to-indexed-object'); var arraySlice = require('../internals/array-slice'); var arrayToSpliced = require('../internals/array-to-spliced'); var addToUnscopables = require('../internals/add-to-unscopables'); var Array = global.Array; // `Array.prototype.toSpliced` method // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced $({ target: 'Array', proto: true, arity: 2 }, { // eslint-disable-next-line no-unused-vars -- required for .length toSpliced: function toSpliced(start, deleteCount /* , ...items */) { return arrayToSpliced(toIndexedObject(this), Array, arraySlice(arguments)); } }); addToUnscopables('toSpliced');