Array to Record Conversion
Hey, how would you convert an array:
[{id: "a"}, {id: "b"}] to record : { "a" : {}, "b": {} } I know I can use reduce but i'm pretty sure this is already a function doing it. I tried groupBy but here my keys are unique