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
Since javascript have both arrays []
and associative arrays {}
, most needs for datstructures are already solved. The array solves the ordered list, fast access by numeric index whilst the associative array can be considered a unordered hashmap and solves the fast access by string keys.
For me that covers 95% of my data structure needs.