Using preferably Lo-Dash or Underscore methods, is there a way to "merge" an array of like objects' values?
For example, I would like to take an array like this . . .
[
{x: 1, y: 2, z: 3},
{x: 4, y: 5, z: 6}
]
. . . and transform it into this . . .
{
x: [1, 4],
y: [2, 5],
z: [3, 6]
}