JavaScript: Group an array according to type
Jan 16, 2022 · 1 min read · const array = [ { type: 'A', status:'Approved' }, { type: 'A', status:'Approved' }, { type: 'A', status:'Disapproved' }, { type: 'A', status:'Disapproved' }, { type: 'A', status:'Processing' }, { type: 'B', status:'Processing' }, { type: 'B', status:...
Join discussion













