I have the following data
data: [
[200, 3],
[400, 4],
[2344, 8],
[34543, 2],
];
What I am trying to do with lodash or native filter/map functions is to create 2 arrays.
array1 = [200, 400, 2344, 34543];
array2 = [3, 4, 8, 2];
I have tried map, filter and lodash first with no luck.