src/projects/GroceriStar/groceristar.js
function () {

  return _.map(groceries, item => {
    const object = {
      id: item.id,
      name: item.name,
      departmentsCount: item.departments.length
    }
    delete object.departments // @TODO ????
    return object
  })
}
function () {

  return _.map(groceries, item => {
    const object = {
      id: item.id,
      name: item.name,
      departmentsCount: item.departments.length
    }
    delete object.departments // @TODO ????
    return object
  })
}
function ( ) { return _ . map ( groceries , item => { const object = { id : item . id , name : item . name , departmentsCount : item . departments . length } delete object . departments // @TODO ???? return object } ) }
strange turnaround. @TODO can we
strange turnaround .