Edit in JSFiddle

var animals = [
    { type: 'dog', name: 'Spike'},
    { type: 'cat', name: 'Tom'},
    { type: 'mouse', name: 'Jerry'}
];

var myPets = _.reduce(animals, function (str, animal) {
    var li = '<li>I have a ' + animal.type + ' called ' + animal.name + '</li>\n';
    return str + li;
}, '');

$('<ul>').html(myPets).appendTo('body');

              
            
          
            
              
                

              
            
          
            
              

External resources loaded into this fiddle: