[Solved] can its possible to make for loop for array of objects, removing duplicate and add the values which consists of same user [closed]
You could try something like this: var data = [ { user: ‘VAY9090’, value: [ ‘KL65’ ] }, { user: ‘VAY9090’, value: [ ‘KL6I’ ] }, { user: ‘VAY9092’, value: [ ‘KLMF’ ] }, { user: ‘VAY9092’, value: [ ‘KLMQ’ ] }, { user: ‘VAY9090’, value: [ ‘KLMR’ ] }, { user: ‘BTD9891’, value: [ … Read more