mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.7.0.
This commit is contained in:
@@ -13,14 +13,15 @@ define(['./_baseRandom', './_isIterateeCall', './toNumber'], function(baseRandom
|
||||
/**
|
||||
* Produces a random number between the inclusive `lower` and `upper` bounds.
|
||||
* If only one argument is provided a number between `0` and the given number
|
||||
* is returned. If `floating` is `true`, or either `lower` or `upper` are floats,
|
||||
* a floating-point number is returned instead of an integer.
|
||||
* is returned. If `floating` is `true`, or either `lower` or `upper` are
|
||||
* floats, a floating-point number is returned instead of an integer.
|
||||
*
|
||||
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
||||
* floating-point values which can produce unexpected results.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.7.0
|
||||
* @category Number
|
||||
* @param {number} [lower=0] The lower bound.
|
||||
* @param {number} [upper=1] The upper bound.
|
||||
|
||||
Reference in New Issue
Block a user