The `result === -Infinity` check ensures we return the *first* value for which the iterator returns -Infinity should the iterator return -Infinity for every value.