I currently have data in the following format:
var anArray = [
  obj1: {
    key1: data1
  },
  obj2: {
    key2: data2
  },
];
I would like the data to instead be in the following format:
var array2 = [data1, data2];
for some reason, I cannot figure out a concise way to to this. I know it could be done with a forEach loop that iterates over each object and pushes it onto a new array, but I would prefer to be more elegant (and shorter if possible) than that.
 
     
     
    