Ensure lazy slice handles floating-point start and end params.

This commit is contained in:
jdalton
2015-02-10 00:33:10 -08:00
parent ce44f7e4b0
commit 96b663b783
2 changed files with 10 additions and 3 deletions

View File

@@ -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__) {