out:
117 -buffalo-antilope-gazelle-deer-goat
myArray.reduce((mapped, item) => ( mapped += item.number; ), 0); myArray.reduce((mapped, item) => ( mapped += `-${item.name}`; ), "");