object of array to array of objects javascript code example Example: object to array javascript Object.values(obj)