Javascript How To Transform An Array To An Object Using Reduce

Javascript How To Transform An Array To An Object Using Reduce