mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Bump to v4.0.0.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
var arrayCopy = require('./arrayCopy'),
|
||||
var copyArray = require('./copyArray'),
|
||||
isIndex = require('./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