I already searched for a tutorial in Google but couldn't find what I needed. I have an array like this:
[
 {Username:'user1', Balance:'123'}, 
 {Username:'user2', Balance:'213'}, 
 {Username:'user1', Balance:'424'}
]
How to merge Balance when the Username is the same, for example merge Balance Username:'user1'
 
     
     
    