- HashMap instances are now compatible ES6 iterators. Thanks @NathanJang
- Constructor now supports a 2D array 2D of key-value pair. Thanks @ulikoehler
- Renamed
remove()
todelete()
.remove()
is now deprecated and kept temporarily. Thanks @ulikoehler - Added
.size
member.count()
is now deprecated and kept temporarily. Thanks @ulikoehler
- Added entries() method to hashmaps. Thanks @ulikoehler
- support ECMA 5 non-conformant behaviour of Microsoft edge #27. Thanks @freddiecoleman
- Names of chained methods is hardcoded rather than using the "return" trick. Fixes bug when minified, thanks @fresheneesz.
- Added jshint to be run before any commit
- count() is now O(1), thanks @qbolec
- hasOwnProperty() is used to check for the internal expando, thanks @psionski
- forEach method accepts a context as 2nd argument, thanks @mvayngrib
- Make collisions rarer
- AMD CommonJS export is now compatible
- Added chaining to all methods with no returned value
- Added multi() method
- Added clone() method
- Added copy() method
- constructor accepts one argument for cloning or several for multi()
- Added search() method, thanks @rafalwrzeszcz
- AMD support, thanks @khrome
- forEach() callback receives the hashmap as
this
- Added keys()
- Added values()
- First release