Returns an object with each property name and value corresponding to the entries in this collection.
For collections that are not maps, the generated property names correspond to each index.
Returns an array of each value in this collection.