mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v3.10.0.
This commit is contained in:
@@ -35,7 +35,7 @@ var nativeMax = Math.max,
|
||||
*/
|
||||
function inRange(value, start, end) {
|
||||
start = +start || 0;
|
||||
if (typeof end === 'undefined') {
|
||||
if (end === undefined) {
|
||||
end = start;
|
||||
start = 0;
|
||||
} else {
|
||||
|
||||
@@ -34,7 +34,7 @@ var nativeMin = Math.min,
|
||||
*/
|
||||
function random(min, max, floating) {
|
||||
if (floating && isIterateeCall(min, max, floating)) {
|
||||
max = floating = null;
|
||||
max = floating = undefined;
|
||||
}
|
||||
var noMin = min == null,
|
||||
noMax = max == null;
|
||||
|
||||
Reference in New Issue
Block a user