Learn JavaScript
Set
33.2
Lesson

set.add()

The set.add() method adds the value to the Set. Calling the set.add() method with the same value more than once does not add the value to the Set.