-
-
Save tai2/35f0b33b3cc9c49d917522e830529f7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.reduce((prev, curr) => (prev[curr.id] = curr, prev), {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment