Underscore compose

JavaScript

// var firstLetters = function(words){
//     return _.map(words, function(word){
//         return _.first(word).join(2);
//     });
// };

var data={'search-results':[1,2,3,4,5,6,8],'search-results':[1,2,3,4,5,6,7]}
console.log(_.first(data['search-results']));