let people = [
{Name: `Danya`, money: 8650},
{Name: `Nikita`, money: 5470}
]
let allBudget = people.reduce((acc,person) =>{
acc = acc + person.money
return acc
},0)
console.log(allBudget)
let allBudget = 0;
for(let i = 0; i < people.length; i++){
allBudget += people[i].money;
}