//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] ]