mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Remove semicolons.
This commit is contained in:
12
union.js
12
union.js
@@ -1,6 +1,6 @@
|
||||
import baseFlatten from './.internal/baseFlatten.js';
|
||||
import baseUniq from './.internal/baseUniq.js';
|
||||
import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
import baseFlatten from './.internal/baseFlatten.js'
|
||||
import baseUniq from './.internal/baseUniq.js'
|
||||
import isArrayLikeObject from './isArrayLikeObject.js'
|
||||
|
||||
/**
|
||||
* Creates an array of unique values, in order, from all given arrays using
|
||||
@@ -14,11 +14,11 @@ import isArrayLikeObject from './isArrayLikeObject.js';
|
||||
* @see difference, unionBy, unionWith, without, xor, xorBy
|
||||
* @example
|
||||
*
|
||||
* union([2], [1, 2]);
|
||||
* union([2], [1, 2])
|
||||
* // => [2, 1]
|
||||
*/
|
||||
function union(...arrays) {
|
||||
return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
|
||||
return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true))
|
||||
}
|
||||
|
||||
export default union;
|
||||
export default union
|
||||
|
||||
Reference in New Issue
Block a user