Update union.md
This commit is contained in:
@ -12,5 +12,5 @@ const union = (a, b) => Array.from(new Set([...a, ...b]));
|
|||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
union([1, 2, 3], [4, 3, 2]); // [1,2,3,4]
|
union([1, 2, 3], [4, 3, 2]); // [1, 2, 3, 4]
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user