Returns an array of all [key, value] entries for this map.

Previous versions called this method items(). This name has been deprecated in version 1, and removed in version 2.

The ES6 standard stipulates that this method should return an iterator. This library does not yet comply, but may in version 2.

On collections


  • entries()
  • items()


  • keys()

    Returns an array of the keys of this map.

  • values()

    Returns an array of the values of this map.