I am trying to create new object from an array of object. I tried using Lodash external library but it crashes the web app – Javascript
let apiResponse = [{ id: 134, user_name: 'abc', phone_number: 1234567890, sno: 'AM' }, { id: 948, user_name: 'def', phone_number: 9823437483, sno: 'AM' }, { id: 865, user_name: 'abc', phone_number: 1234567890, sno: 'PM' }, { id: 659, user_name: 'ghi', phone_number: 9834763467,…