A Set is a Collection of values. You can iterate over your Set and your Set can only have single values
const setOfColors = new Set(['Blue','Red','Orange'])
// setOfColors[0] = Blue
// setOfColors[1] = Red
// setOfColors[2] = Orange
Now you can Iterage over Your set Of Colors
const myFavoriteColors = ['Blue','Pink','Green']
const myFavoriteColorIsPresentInSet = myFavoriteColors.filter(x=>setOfColors.has(x))
// console.log(myFavoriteColorIsPresentInSet) => Blue