mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Ensure lazy slice handles floating-point start and end params.
This commit is contained in:
@@ -11037,7 +11037,7 @@
|
||||
whileName = methodName + 'While';
|
||||
|
||||
LazyWrapper.prototype[methodName] = function(n) {
|
||||
n = n == null ? 1 : nativeMax(+n || 0, 0);
|
||||
n = n == null ? 1 : nativeMax(floor(n) || 0, 0);
|
||||
|
||||
var result = this.clone();
|
||||
if (result.__filtered__) {
|
||||
|
||||
Reference in New Issue
Block a user