mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Bump to v4.0.0.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import arrayCopy from './arrayCopy';
|
||||
import copyArray from './copyArray';
|
||||
import isIndex from './isIndex';
|
||||
|
||||
/* Native method references for those with the same name as other `lodash` methods. */
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
var nativeMin = Math.min;
|
||||
|
||||
/**
|
||||
@@ -17,7 +17,7 @@ var nativeMin = Math.min;
|
||||
function reorder(array, indexes) {
|
||||
var arrLength = array.length,
|
||||
length = nativeMin(indexes.length, arrLength),
|
||||
oldArray = arrayCopy(array);
|
||||
oldArray = copyArray(array);
|
||||
|
||||
while (length--) {
|
||||
var index = indexes[length];
|
||||
|
||||
Reference in New Issue
Block a user