mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
var Uint8Array = require('./Uint8Array'),
|
||||
_Symbol = require('./_Symbol'),
|
||||
var Symbol = require('./Symbol'),
|
||||
Uint8Array = require('./Uint8Array'),
|
||||
mapToArray = require('./mapToArray'),
|
||||
setToArray = require('./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