Clearing a set

suggest change

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

mySet.clear();

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents