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
var names = _.pluck(data, 'name'); var values = _.pluck(data, 'value'); var result = _.object(_.zip(names, values)); console.log(result);