.add()
Term side of the Card
Topic: Set
Unit title: .add()
Categories: Method
Explanation side of the Card
Explanation: The method used to add a new element to a `Set` object. If the element already exists, it will not be added again, maintaining the uniqueness of the values. It also returns the object itself, which allows for method chaining.
Browser compatibility:
- The chrome browser supports this feature starting from version 38
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 13
- The safari browser supports this feature starting from version 8
Availability: