Perform Set Operations using JavaScript Set Methods

InstructorTomasz Ducin

Share this video with your friends

Send Tweet

The "Set Methods" proposal introduces 7 new methods to JavaScript/ECMAScript:

  • union
  • intersection,
  • difference,
  • symmetricDifference,
  • isSubsetOf
  • isSupersetOf
  • isDisjointFrom

Thanks to them, complex operations using JavaScript sets will become much easier.