The Object.keys() method returns an array of a given object's own enumerable property names, iterated in the same order that a normal loop would.
The Object.values() method returns an array of a given object's own enumerable property values, in the same order as that provided by a for...in loop. (The only difference is that a for...in loop enumerates properties in the prototype chain as well.)
The Object.entries() method returns an array of a given object's own enumerable string-keyed property [key, value] pairs, in the same order as that provided by a for...in loop. (The only important difference is that a for...in loop enumerates properties in the prototype chain as well).
#object.valuesjavascript #object.keysjavascript #objectkeysinjavascript #javascriptobject.keys #objectentriesjavascript