I have an array like this:
[
{
foo: bar,
bar: foo,
},
{
foo: bar,
bar: baz,
},
{
foo: bar,
bar: foo,
},
]
And I wish to get out an array that looks like this:
[foo, baz, foo]
Is this possible with pure JS or underscore? I only need to support modern browsers.