mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Minor formatting nit for _.without.
This commit is contained in:
@@ -5437,9 +5437,7 @@
|
|||||||
* // => [3]
|
* // => [3]
|
||||||
*/
|
*/
|
||||||
var without = restParam(function(array, values) {
|
var without = restParam(function(array, values) {
|
||||||
return isArrayLike(array)
|
return isArrayLike(array) ? baseDifference(array, values) : [];
|
||||||
? baseDifference(array, values)
|
|
||||||
: [];
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user