create array as set from two arrays. like as intersection, union, and defference set.
const { intersection, union, difference } = require("array-set");
union([3, 2, 3], [2, 3, 4]);
// => [3, 2, 4]
intersection([1, 2, 3], [3, 4, 5]);
// => [3]
difference([1, 2, 3, 4], [1, 2]);
// => [3, 4]