mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Formatting nit in baseWhile.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user