JS MAP ADD PROPIEDAD

array.map(x => ({
    ...x,
    c: Number(x.a) - Number(x.b)
}))
Lucas Juan