mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Symbol from './Symbol';
|
||||
import Uint8Array from './Uint8Array';
|
||||
import _Symbol from './_Symbol';
|
||||
import mapToArray from './mapToArray';
|
||||
import setToArray from './setToArray';
|
||||
|
||||
@@ -21,8 +21,8 @@ var boolTag = '[object Boolean]',
|
||||
var arrayBufferTag = '[object ArrayBuffer]';
|
||||
|
||||
/** Used to convert symbols to primitives and strings. */
|
||||
var symbolProto = _Symbol ? _Symbol.prototype : undefined,
|
||||
symbolValueOf = _Symbol ? symbolProto.valueOf : undefined;
|
||||
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
||||
symbolValueOf = Symbol ? symbolProto.valueOf : undefined;
|
||||
|
||||
/**
|
||||
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
||||
@@ -80,7 +80,7 @@ function equalByTag(object, other, tag, equalFunc, customizer, bitmask) {
|
||||
equalFunc(convert(object), convert(other), customizer, bitmask | UNORDERED_COMPARE_FLAG);
|
||||
|
||||
case symbolTag:
|
||||
return !!_Symbol && (symbolValueOf.call(object) == symbolValueOf.call(other));
|
||||
return !!Symbol && (symbolValueOf.call(object) == symbolValueOf.call(other));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user