montagejs / collections

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

Some backward compatibility breaking changes: #146

Closed marchant closed 8 years ago

marchant commented 8 years ago
- Native Maps, WeakMaps and Sets are now used when available
- Aligns Map with latest standard with PR #137
    - Use of a second argument for default value in get() is deprecated
    - keys(), values() and entries() now return an iterator per standards,
      methods returning an array are now keysArray(), valuesArray(), entriesArray()
    - It's not possible to create a Map by passing an anonymous object to the constructor, that feature is now available as Map.from();