let arr=[{name:'saif',count:1},{name:'harsh',count:3}
how can I find total count (i.e, 1 + 3 = 4) ?
let arr=[{name:'saif',count:1},{name:'harsh',count:3}
how can I find total count (i.e, 1 + 3 = 4) ?
For further actions, you may consider blocking this person and/or reporting abuse
Softdiscover Team -
Digamber Singh -
Vladislav Guzey -
Rory Murphy -
Top comments (2)
It feels like this might be for an assignment.
I'd recommend reading about it here