Fix style nits.

This commit is contained in:
John-David Dalton
2018-02-02 20:30:15 -08:00
parent 5adb4ee95c
commit 5e58cd216c
3 changed files with 7 additions and 7 deletions

View File

@@ -2674,7 +2674,7 @@
stack.set(value, result);
if (isSet(value)) {
value.forEach(function(subValue) {
value.forEach(function(subValue) {
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
});
@@ -6270,13 +6270,13 @@
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
*/
function isIndex(value, length) {
var type = typeof value
length = length == null ? MAX_SAFE_INTEGER : length
var type = typeof value;
length = length == null ? MAX_SAFE_INTEGER : length;
return !!length &&
(type == 'number' ||
(type != 'symbol' && reIsUint.test(value))) &&
(value > -1 && value % 1 == 0 && value < length)
(value > -1 && value % 1 == 0 && value < length);
}
/**