Remove arguments object from _.range.

Former-commit-id: d3da531e33bcd00a00ff80986f56196ac1b6f2c5
This commit is contained in:
John-David Dalton
2012-06-27 13:51:46 -04:00
parent 6a90616b99
commit 81b28d005d

View File

@@ -1472,7 +1472,7 @@
*/
function range(start, end, step) {
step || (step = 1);
if (arguments.length < 2) {
if (end == null) {
end = start || 0;
start = 0;
}