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.