montagejs / collections

This package contains JavaScript implementations of common data structures with idiomatic interfaces.
http://www.collectionsjs.com
Other
2.1k stars 184 forks source link

MultiMap is untested and doesn't seem to work #118

Open michaelficarra opened 9 years ago

michaelficarra commented 9 years ago
var MultiMap = require("collections/multi-map");
var map = new MultiMap;
map.set("a", 0);
map.set("a", 1);
map.values(); // [ [] ]
map.entries(); // [ [ 'a', [] ] ]
map.has("a"); // true
map.get("a"); // []
hthetiot commented 6 years ago

Fixed multi map error on master will add more spec