.difference()

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

Explanation: The method that identifies elements present in the `Set` object on which it's called, but not in the `Set` object passed as an argument, returning a new `Set` object with these unique elements.

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: