tc39 / proposal-collection-methods

https://tc39.github.io/proposal-collection-methods/
Other
172 stars 8 forks source link

New helpful methods for Set #43

Closed LunaticProgrammer closed 3 years ago

LunaticProgrammer commented 3 years ago

Some of the helpful set methods are must needed some which are in my mind are mentioned below

  1. set1.subtract(set2)
  2. set1.intersect(set2)
  3. set1.union(set2)
MaxGraey commented 3 years ago

See this proposal: https://github.com/tc39/proposal-set-methods

LunaticProgrammer commented 3 years ago

Thanks Max found it useful!