Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 4
    That looks like a nice library! What a shame that you can't download just the Set function without having to get everything else... Commented Jul 27, 2009 at 10:48
  • @Blixt I believe you can download it all, and just include just the set.js file Commented Jul 27, 2009 at 10:52
  • Set is implemented in google closure as well. closure-library.googlecode.com/svn/docs/… Commented Feb 6, 2012 at 19:08
  • 3
    Wow, it's been 1 year? developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/… Commented Feb 7, 2018 at 14:31
  • 8
    @Loupax Unfortunately the built-in ES Set doesn't have this handy difference method. Commented Jul 7, 2021 at 21:58