Group array of objects by key | Frontend interview question - YouTube

Group array of objects by key | Frontend interview question - YouTube