I have an array of objects (imported from Firebase) that I want to format (transpose? reduce?) to the format shown in attached screenshot. Can someone help?
I looked at https://coffeescript-cookbook.github.io/chapters/arrays/reducing-arrays but wasn't able to do it myself
I'm not sure it's the best way, but you could do something like:
for profile of profiles____profiles[profile] = profiles[profile].rating
pretty inelegant, but it works —> https://framer.cloud/dsXpv