How to convert array object to object in javascript?
Convert an array object to separate separate object without object key. I like to const arr = [ { public_id: 'apple', secure_url: 'one' }, { public_id: 'banana', secure_url: 'two' }, { public_id: 'orange', secure_url: 'three' } ]; And i need…