adding two objects to get the sum of the values
<p>hey guys l'm trying to get the sum of two values in from two different objects but l'm having a problem.
this is the current code that l have:</p>

<pre><code>  var drinks = [
   {
       "person": "Mdu",
       "coffee": 5,
       "tea": 0,
       "water": 3
   },
   {
       "person": "Brenda",
       "coffee": 1,
       "tea": 3,
       "water": 1
   },
   {
       "person": "Lesego",
       "coffee": 0,
       "tea": 4,
       "water": 2
   }
    ];


var orangeSellers = [];

for (var type in drinks) {
    if (drinks[type].hasOwnProperty("coffee")) {
        orangeSellers.push({
            price: drinks[type].coffee
        });
    }
}
console.log(orangeSellers[1]);
</code></pre>

<p>l am suppose to get the sum of 6 when l add two coffees.
Your help will be much appreciated</p>