JavaScript fundamental (ES6 Syntax): Map the values of an array to an object using a function, where the key-value pairs consist of the original value as the key and the mapped value -
How to convert an array of object with properties into a pure array with values only (JavaScript, arrays, development) - Quora
![Krasimir on X: "Tip #35: converting object to array and vice versa. I very often in need of such transformation and those are the two approaches that I'm using. Array.reduce and Object.keys. # Krasimir on X: "Tip #35: converting object to array and vice versa. I very often in need of such transformation and those are the two approaches that I'm using. Array.reduce and Object.keys. #](https://pbs.twimg.com/media/E8wAG7nXIAMMVRJ.jpg)