Hi friends I\'m beginner for javascript how i sum same n no\'s of object name corresponding value and push the result to new array.see this is sample object
va
var obj_1 ={'delivered':10,'due':11,'team_name':'UK'};
var obj_2 ={'delivered':10,'due':11,'team_name':'US'};
var obj_nth ={'delivered':10,'due':11,'team_name':'UK'};
function sum_all() {
var sum={};
for(var i=0;i
Your console output will be:
sum Object UK: Object delivered: 20 due: 22 US: Object delivered: 10 due: 11