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

Checking Membership with has()

Test whether a value exists in a Set using the has() method for O(1) lookup.

This lesson is for subscribers

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