(a ∩ b) Create a set that contains those elements of set a that are also in set b.
result of a ∩ b
This operation is known as intersection
let a = [1,2,3];let b = [4,3,2];utilArrayIntersection(a, b) // returns: [2,3] Copy
let a = [1,2,3];let b = [4,3,2];utilArrayIntersection(a, b) // returns: [2,3]
(a ∩ b) Create a set that contains those elements of set a that are also in set b.