Great Article. Thanks for sharing. Following is my suggestion
We can even calculate the amount spent by married couples without using map function (directly use customer in reduce function)
const total = customers .filter(customer => customer.married) .reduce((accum,customer) => accum + customer.expense);