Edit in JSFiddle

var arr = [1, 2, 3, 4];
var newArr = _.map(arr, function (item) {
    return item * 2;
});

console.log(newArr); // => [2, 4, 6, 8]

              
            
          
            
              
                

              
            
          
            
              

External resources loaded into this fiddle: