Skip to content

Commit

Permalink
drop an unnecessary option
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Jun 24, 2022
1 parent 33568b6 commit 1b7d33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-js/modules/esnext.array.to-spliced.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var min = Math.min;

// `Array.prototype.toSpliced` method
// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced
$({ target: 'Array', proto: true, arity: 2 }, {
$({ target: 'Array', proto: true }, {
toSpliced: function toSpliced(start, deleteCount /* , ...items */) {
var O = toIndexedObject(this);
var len = lengthOfArrayLike(O);
Expand Down

0 comments on commit 1b7d33d

Please sign in to comment.