mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Remove dead code from baseIntersection and cloneSymbol.
This commit is contained in:
10
lodash.js
10
lodash.js
@@ -2673,7 +2673,7 @@
|
|||||||
array = arrays[0];
|
array = arrays[0];
|
||||||
|
|
||||||
var index = -1,
|
var index = -1,
|
||||||
length = array ? array.length : 0,
|
length = array.length,
|
||||||
seen = caches[0];
|
seen = caches[0];
|
||||||
|
|
||||||
outer:
|
outer:
|
||||||
@@ -3717,14 +3717,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a clone of `symbol`.
|
* Creates a clone of the `symbol` object.
|
||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
* @param {Object} symbol The symbol to clone.
|
* @param {Object} symbol The symbol object to clone.
|
||||||
* @returns {Object} Returns the cloned symbol.
|
* @returns {Object} Returns the cloned symbol object.
|
||||||
*/
|
*/
|
||||||
function cloneSymbol(symbol) {
|
function cloneSymbol(symbol) {
|
||||||
return typeof symbol == 'object' ? Object(symbolValueOf.call(symbol)) : symbol;
|
return Object(symbolValueOf.call(symbol));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user