mapObject(JavaScript, Array, Object, Intermediate)
Wed Apr 29 2020 11:26:22 GMT+0000 (Coordinated Universal Time)
Saved by @Bubbly #javascript
Maps 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 result of the function as the value.
https://www.30secondsofcode.org/js/s/map-object/
Comments