JavaScript : How do I convert array of Objects into one Object in JavaScript?

Published --