* The base implementation of `_.random` without argument juggling or support * for returning floating-point numbers. * * @private * @param {number} min The minimum possible value. * @param {number} max The maximum possible value. * @returns {number} Returns a random num
(min, max)
| 36421 | * @returns {number} Returns a random number. |
| 36422 | */ |
| 36423 | function baseRandom(min, max) { |
| 36424 | return min + floor(nativeRandom() * (max - min + 1)); |
| 36425 | } |
| 36426 | |
| 36427 | /** |
| 36428 | * The base implementation of `_.uniq` without support for callback shorthands |