Object.entries and Object.values

check the entries and values of a Map using ES2017

Object.keys work in the following way:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.