Are you still not using JavaScript Sets?
Discover ↓ set.union()
set.intersection()
set.difference()
See how sets might make your data efficient. Dive in!
https://developer.mozilla.org/en-US/blog/javascript-set-methods/

MDN Web DocsNew JavaScript Set methods | MDN BlogNew JavaScript Set methods are landing across browsers. Learn about sets, how you can use these methods to compare different sets, create new sets with specific properties, and more.

