Adding and deleting items from a Set

We will start out with the simplest possible tasks involving a Set. In this recipe, we'll take a look at how to add and delete items from a Set using the respective instance methods.

Get ECMAScript Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.