Formatting nit in baseWhile.

This commit is contained in:
John-David Dalton
2015-08-26 21:43:52 -07:00
parent 820e720b0a
commit e0f59eccf0

View File

@@ -2756,7 +2756,9 @@
var length = array.length,
index = fromRight ? length : -1;
while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {}
while ((fromRight ? index-- : ++index < length) &&
predicate(array[index], index, array)) {}
return isDrop
? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))
: baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));