Jak dodać link podczas filtru i mapowania w JavaScript

var options = [
  { name: 'One', assigned: true }, 
  { name: 'Two', assigned: true }, 
  { name: 'Three', assigned: true }, 
];

var reduced = options.reduce(function(filtered, option) {
  if (option.assigned) {
     var someNewValue = { name: option.name, newProperty: 'Foo' }
     filtered.push(someNewValue);
  }
  return filtered;
}, []);

document.getElementById('output').innerHTML = JSON.stringify(reduced);
Courageous Caterpillar