extra-array
Advanced tools
Comparing version 4.1.34 to 4.1.35
@@ -1171,7 +1171,3 @@ 'use strict'; | ||
function copyWithin(x, j = 0, i = 0, I = x.length) { | ||
var I = i + Math.min(length(x, i, I), length(x, j)); | ||
var p = x.slice(0, j); | ||
var q = x.slice(i, I); | ||
var r = x.slice(j + q.length); | ||
return p.concat(q, r); | ||
return x.slice().copyWithin(j, i, I); | ||
} | ||
@@ -1178,0 +1174,0 @@ function copyWithin$(x, j = 0, i = 0, I = x.length) { |
{ | ||
"name": "extra-array", | ||
"version": "4.1.34", | ||
"version": "4.1.35", | ||
"description": "An array is a collection of values, stored contiguously.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
191303
5251