entries()

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

Usage

  • entries()
  • items()

Related

  • keys()

    Returns an array of the keys of this map.

  • values()

    Returns an array of the values of this map.