I\'ve searched quite a while for a Collections API (list, set) for JS and surprisingly I could only this: http://www.coffeeblack.org/work/jscollections/
This is exactly
You can try js_cols, a collections library for JavaScript.