Created
March 22, 2019 15:02
-
-
Save matt212/893aba33882866f8e99f9ccbeaa318e3 to your computer and use it in GitHub Desktop.
convert json array to js object
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
var newObj = internObj.reduce((a, b) => Object.assign(a, b), {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment