mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.12.0.
This commit is contained in:
@@ -15,7 +15,7 @@ define(['./_baseClamp', './toInteger'], function(baseClamp, toInteger) {
|
||||
* @returns {number} Returns the converted integer.
|
||||
* @example
|
||||
*
|
||||
* _.toSafeInteger(3);
|
||||
* _.toSafeInteger(3.2);
|
||||
* // => 3
|
||||
*
|
||||
* _.toSafeInteger(Number.MIN_VALUE);
|
||||
@@ -24,7 +24,7 @@ define(['./_baseClamp', './toInteger'], function(baseClamp, toInteger) {
|
||||
* _.toSafeInteger(Infinity);
|
||||
* // => 9007199254740991
|
||||
*
|
||||
* _.toSafeInteger('3');
|
||||
* _.toSafeInteger('3.2');
|
||||
* // => 3
|
||||
*/
|
||||
function toSafeInteger(value) {
|
||||
|
||||
Reference in New Issue
Block a user