Course contentsShow
JavaScript
Lesson 1048 of 2,72324. Maps and SetsPro lesson

Set Size and Clearing

Access the size property and use clear() to remove all elements from a Set.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.