.union()

Term side of the Card
Topic: Set
Unit title: .union()
Categories: Method
Explanation side of the Card

Explanation: The method that combines elements from the `Set` object on which it's called and the `Set` object passed as an argument into a new `Set`, containing all unique elements from both.

Browser compatibility:
  • The chrome browser supports this feature starting from version 122
  • The edge browser supports this feature starting from version 122
  • The firefox browser supports this feature starting from version 127
  • The safari browser supports this feature starting from version 17
Availability: