Static method Object.values()

The Object.values() static method returns an
array of a given object’s own enumerable
string-keyed property values.

const object1 = {
  a: 'somestring',
  b: 42,
  c: false
};

console.log(Object.values(object1));
// Expected output: Array ["somestring", 42, false]