I only recently discovered the power of underscore.js, still new to the methods I kindly ask for a suggestion:
How do I get from this:
[ [{
Simple way:
1. use _.map to get all the names
var names = _.map(items, function(item) { return item.name});
2. Get the _.uniq from that names
var uniqueNames = _.uniq(names);