I'm wondering if there is a way to extract the values of the name property from an object array without having to iterate through it.
var objArray = [ { name: 'APPLE', type: 'FRUIT' },
{ name: 'ONION', type: 'VEGETABLE' } ]
Is it possible to retrieve the values of the name property in CSV format (APPLE, ONION) without looping through the array? Perhaps by using a helper function that can take this object array as input and output the CSV of the specified property, which in this case is name.