Extraer valor de la matriz de objetos JavaScript
let result = objArray.map(a => a.foo);
Index out of bounds
let result = objArray.map(a => a.foo);
var obj = {v1: 'v1', v2: 'v2'};
// extract object's values as array
var valuesArray = Object.values(obj); // ['v1','v2']