3 lines
83 B
JavaScript
3 lines
83 B
JavaScript
const union = (a, b) => Array.from(new Set([...a, ...b]));
|
|
module.exports = union;
|