In the previous chapter we looked at the Map object, and how we can use it to store key/value pairs. In this chapter we will look at Set and how to store unique values.

A Set is created in the same way as Map.

Get hands-on with 1200+ tech skills courses.