Use MAX_ARRAY_LENGTH instead of INFINITY for the default __takeCount__ value.

This commit is contained in:
John-David Dalton
2015-09-15 23:48:36 -07:00
parent cd4f278a16
commit a84e44b2a3

View File

@@ -1587,7 +1587,7 @@
this.__dir__ = 1;
this.__filtered__ = false;
this.__iteratees__ = [];
this.__takeCount__ = INFINITY;
this.__takeCount__ = MAX_ARRAY_LENGTH;
this.__views__ = [];
}