Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

map a property from array of objects javascript

var result = objArray.map(function(a) {return a.foo;});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #map #property #array #objects #javascript
ADD COMMENT
Topic
Name
2+5 =