JavaScript Set Clearing a Set

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Example

You can remove all the elements in a set using the .clear() method:

mySet.clear();


Got any JavaScript Question?