how to select some values of object type in node js code example
Example: javascript object to array
//ES6 Object to Array
const numbers = {
one: 1,
two: 2,
};
console.log(Object.values(numbers));
// [ 1, 2 ]
console.log(Object.entries(numbers));
// [ ['one', 1], ['two', 2] ]