Mastering data with 7 new JavaScript Set methods

Loading...
Published-01-12T17:25
In this article, I will be spilling the beans on the coolest, latest methods that probably will turn the Set object into a rockstar. I noticed these new methods in July and finally was able to test them in Safari. All of them are fresh ways to play with data, do crazy intersections, and make unions so smooth you'll wonder how you ever lived without them. So, 7 new Set methods are under construction now and I will show you the way they interact with data: difference() intersection() isDisjointFrom() isSubsetOf() isSupersetOf() symmetricDifference() union() Now, let's delve into these methods and see how they elevate the power of Sets in handling data.