Created
September 17, 2018 11:01
-
-
Save mgmgpyaesonewin/692fedaf711fee4a22df4b2bd22ec9e9 to your computer and use it in GitHub Desktop.
Reduce_array_to_objects
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
_.reduce(code, function(memo, current) { return _.assign(memo, current) }, {}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment