Show HN: A Set object implementation in JavaScript

https://github.com/gkatsev/set.js
by gkatsev • 15 years ago
1 1 15 years ago

I created this because I could not find any actual set object implementations in JavaScript that included functions such as union and intersect. Also, I wanted to learn a bit more about creating node modules. It can be used in the browser, as well, by removing the last line in the set.js file. I will make it so it works in either without any effort later on.

Let me know what you think.

Related Stories

Loading related stories...

Source preview

github.com