HashMap.js is a library which adds HashMaps to JavaScript. While some modern browsers support Maps, this library supports all browsers back to even IE8! This library also works well with the Stream.js ...
In my contrived tests, with a fast hash function that produced ~.002% collisions, the HashMap performed ~30% slower than using a plain old object with a toString() function that generated unique ...