Cleanup _.toInteger and max MAX_INTEGER equal to Number.MAX_VALUE.

This commit is contained in:
John-David Dalton
2015-10-31 10:48:06 -07:00
parent eb636f9538
commit 39a22bf15b
2 changed files with 7 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
/** Used as references for various `Number` constants. */
var MAX_SAFE_INTEGER = 9007199254740991,
MAX_INTEGER = 1e308;
MAX_INTEGER = 1.7976931348623157e+308;
/** Used as references for the maximum length and index of an array. */
var MAX_ARRAY_LENGTH = 4294967295,