Learn JavaScript
Set
33.6
Lesson

set.clear()

The set.clear() method removes all the elements from the Set.