diff --git a/lodash.js b/lodash.js index 7319ea009..01c28ddc5 100644 --- a/lodash.js +++ b/lodash.js @@ -4320,6 +4320,7 @@ if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { end = step = undefined; } + // Ensure the sign of `-0` is preserved. start = toNumber(start); start = start === start ? start : 0; if (end === undefined) {