rafaelmaeuer
8/22/2017 - 3:42 PM

From an array of objects, extract value of a property as array (JavaScript) - From https://stackoverflow.com/questions/19590865/from-an-arra

From an array of objects, extract value of a property as array (JavaScript) - From https://stackoverflow.com/questions/19590865/from-an-array-of-objects-extract-value-of-a-property-as-array

var result = objArray.map(function(a) {return a.foo;});