JS Map Ajouter une propriété

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