The entries() method returns a new Array Iterator object that contains the key/value pairs for each index in the array.