mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v4.12.0.
This commit is contained in:
@@ -16,7 +16,7 @@ var MAX_SAFE_INTEGER = 9007199254740991;
|
||||
* @returns {number} Returns the converted integer.
|
||||
* @example
|
||||
*
|
||||
* _.toSafeInteger(3);
|
||||
* _.toSafeInteger(3.2);
|
||||
* // => 3
|
||||
*
|
||||
* _.toSafeInteger(Number.MIN_VALUE);
|
||||
@@ -25,7 +25,7 @@ var MAX_SAFE_INTEGER = 9007199254740991;
|
||||
* _.toSafeInteger(Infinity);
|
||||
* // => 9007199254740991
|
||||
*
|
||||
* _.toSafeInteger('3');
|
||||
* _.toSafeInteger('3.2');
|
||||
* // => 3
|
||||
*/
|
||||
function toSafeInteger(value) {
|
||||
|
||||
Reference in New Issue
Block a user