Fix lazy slice when used after filter. [closes #955]

This commit is contained in:
jdalton
2015-02-10 21:54:00 -08:00
parent faf67fae03
commit 60c44910df
2 changed files with 24 additions and 21 deletions

View File

@@ -1248,7 +1248,7 @@
end = view.end,
length = end - start,
dropCount = this.__dropCount__,
takeCount = nativeMin(length, this.__takeCount__ - dropCount),
takeCount = nativeMin(length, this.__takeCount__),
index = isRight ? end : start - 1,
iteratees = this.__iteratees__,
iterLength = iteratees ? iteratees.length : 0,