I\'ve been going through the underscore docs but I can\'t seem to find a method (or nested method call) to do the following transformation:
Let\'s say I have the followi
perfect place to use reduce I think:
_.reduce(ary, function(memo, obj){ memo[obj["name"]] = obj["value"]; return memo }, {});